IBM Support

IC91589: VALID XPATH EXPRESSION USED IN RESPONSE RULE MATCH ACTION CAUSES A PARSE ERROR WITH JSON REQUEST AND XML/SOAP RESPONSE TYPE

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When matching on a specific XPath expression a valid
    Response message might be considered invalid and throw a parse
    error.
    This same Response will succeed on a match all
    action.
    

Local fix

  • Change request type from JSON to Non-XML.
    
    In case __JSONASJSONX context is used in a rule as input by
    some action, add a "Convert Query Params to XML" action with
    input INPUT and output "__JSONASJSONX" in front of the rule.
    

Problem summary

  • Affected is the use of a service with JSON request type and XML
    or SOAP reponse type.
    
    If there is at least one response rule with an XPath matching
    action, then a correct XML response might generate a parse
    error.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IC91589

  • Reported component name

    DATAPOWER

  • Reported component ID

    DP1234567

  • Reported release

    402

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-04-16

  • Closed date

    2013-06-26

  • Last modified date

    2013-09-20

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    DATAPOWER

  • Fixed component ID

    DP1234567

Applicable component levels

  • R402 PSY

       UP

  • R500 PSY

       UP

  • R600 PSY

       UP



Document information

More support for: IBM DataPower Gateways
General

Software version: 4.0.2

Reference #: IC91589

Modified date: 20 September 2013