IBM Support

JR54339: REST framework having problem processing some XML requests with user data fields

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Today the WC REST framework processes XML requests by first
    converting them to JSON using JSON4J. However JSON4J has no info
     regarding its schema, in particular the multiplicity of
    elements, so an element that has no sibling of the same name
    will always be converted a JSON object instead of a JSON array
    of JSON objects, even when the element is supposed to be
    repeatable. The WC REST framework is generally tolerant to this,
     but in certain situations it will fail to map user data fields
    properly when presented with this data structure.
    

Local fix

Problem summary

  • USERS AFFECTED:
    V7 FEP8 REST clients
    
    PROBLEM ABSTRACT:
    REST framework having problem processing some XML requests with
    user data fields
    
    BUSINESS IMPACT:
    REST Clients will not be able to send XML requests containing
    user data fields to WC REST APIs.
    
    RECOMMENDATION:
    

Problem conclusion

  • The WC REST framework has been updated to map user data fields
    in XML requests properly.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR54339

  • Reported component name

    WC BUS DEV ED W

  • Reported component ID

    5724I3900

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-09-21

  • Closed date

    2015-11-12

  • Last modified date

    2015-11-12

  • 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

    WC BUS DEV ED W

  • Fixed component ID

    5724I3900

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSYT2H","label":"WebSphere Commerce Developer Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
11 December 2021