IBM Support

JR43246: AIS WITH ARRAY OBJECT ITEM CONTAINING NO CONTENT RESULTS IN XML WITH TYPE OF ANY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When an AIS contains an array object with an item in the array
    that does not contain
    any data, the resulting XML generated for the array object
    contains an element for the array item
    with a type attribute of ANY. The ANY type can potentially
    result in errors for subsequent processes
    using the generated XML.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users who use AIS with array object item    *
    *                  containing no content.                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: When an AIS contains an array object    *
    *                      with an item in the array               *
    *                      that does not contain any data, the     *
    *                      resulting XML generated for the array   *
    *                      object contains an element for the      *
    *                      array item with a type attribute of     *
    *                      ANY. The ANY type can potentially       *
    *                      result in errors for subsequent         *
    *                      processes using the generated XML.      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Enable WLE.*=all trace, search for following trace information.
    [6/25/12 14:32:54:379 CDT] 00000430 Core ‚   ‚   ‚   ‚   ‚   ‚  
    com.ibm.ws.sca.internal.message.util.SCALazyParsingMessageUtil ‚
    Serialized body: <soap:Body
    xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
    xmlns:wr="http://www.ibm.com/xmlns/prod/websphere/sca/multipart/
    wrapper/6.0.0"><wrapper xsi:type="wr:MultipartWrapper"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-
    instance"><outputPar
    xmlns:_t="http://TESTAP1"
    xmlns:wr="http://www.ibm.com/xmlns/prod/websphere/sca/multipart/
    wrapper/6.0.0" xmlns:_ns_="http://WLE"
    xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:type="_t:type1"><ns0:att1
    xmlns:ns0="http://TESTAP1">Attribute1</ns0:att1><ns0:att2
    xmlns:ns0="http://TESTAP1">Attribute2</ns0:att2><ns0:att3
    xmlns:ns0="http://TESTAP1"
    xsi:nil="true"></ns0:att3></outputPar>
    </wrapper></soap:Body>
    Here's the TWObjectToAxiom prior to invoking AIS 2 (which has
    the ANY already present):
    [6/25/12 14:33:00:656 CDT] 000004aa wle_sca &#130; &#160; &#130; &#160; &#130; &#160; &#130; &#160; &#130; &#160;
    com.lombardisoftware.sca.databinding.TWObjectToAxiom
    transform(Object,TransformationContext) ENTRY
    TWObject[(Active: Y), (Type: 1), (TWClassID:
    TWClass.c3fb53f8-cabf-4cbf-8799-88a1478c0c1d), (Property
    names: att1, att2, att3), (MetaData: dirty=false,
    shared=false, key=null, version=null)]
    org.apache.tuscany.sca.databinding.impl.TransformationContextImp
    l@5d94db9
    [6/25/12 14:33:00:658 CDT] 000004aa wle_sca &#130; &#160; &#130; &#160; &#130; &#160; &#130; &#160; &#130; &#160;
    com.lombardisoftware.sca.databinding.TWObjectToAxiom
    transform(Object,TransformationContext) RETURN
    <inputPar><ns0:att1
    xmlns:ns0="http://TESTAP1">Attribute1</ns0:att1><ns0:att2
    xmlns:ns0="http://TESTAP1">Attribute2</ns0:att2><ns0:att3
    xmlns:ns0="http://TESTAP1" type="ANY"></ns0:att3></inputPar>
    Now, here's the same TWObjectToAxiom prior to invoking AIS 1
    (which is correct):
    [6/25/12 14:32:51:210 CDT] 000004a6 wle_sca &#130; &#160; &#130; &#160; &#130; &#160; &#130; &#160; &#130; &#160;
    com.lombardisoftware.sca.databinding.TWObjectToAxiom
    transform(Object,TransformationContext) ENTRY
    TWObject[(Active: Y), (Type: 1), (TWClassID:
    TWClass.c3fb53f8-cabf-4cbf-8799-88a1478c0c1d), (Property
    names: att1, att2), (MetaData: dirty=false, shared=false,
    key=null, version=null)]
    org.apache.tuscany.sca.databinding.impl.TransformationContextImp
    l@5ff0970
    [6/25/12 14:32:51:211 CDT] 000004a6 wle_sca &#130; &#160; &#130; &#160; &#130; &#160; &#130; &#160; &#130; &#160;
    com.lombardisoftware.sca.databinding.TWObjectToAxiom
    transform(Object,TransformationContext) RETURN
    <inputPar><ns0:att1
    xmlns:ns0="http://TESTAP1">Attribute1</ns0:att1><ns0:att2
    xmlns:ns0="http://TESTAP1">Attribute2</ns0:att2><ns0:att3
    xmlns:ns0="http://TESTAP1"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:nil="true"></ns0:att3></inputPar>
    You will see one difference is in the BAD case the Property
    name doesn't include att3.
    

Problem conclusion

  • Made changes in AbstractXMLSerializer to make it schema
    compliant.
    
    Install/Dependency information on 8.0 is available in the
    readme.txt on FixCentral.
    When the user goes to the download files page in FixCentral the
    readme will be available with the fix package as a seperate
    download.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR43246

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-06-27

  • Closed date

    2012-09-11

  • Last modified date

    2012-09-11

  • 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

    BPM STANDARD

  • Fixed component ID

    5725C9500

Applicable component levels

  • R800 PSY

       UP

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0"}]

Document Information

Modified date:
07 October 2021