IBM Support

PM54270: convertToXML call returns a non-nillable field

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment: windows
    Product name: IBM? Rational? Business Developer
    
    Program Version    :  8.0.1.2
    Description.
    Implementing an application incorporating the convertToXML call
    within EGL source code returns an incorrect format when a
    non-nillable field is output.
    
    a) Deploy the application where the EGL source code includes
    this record definition.
    recordXML type BasicRecord
            Name string;
            Address String?;
    end
    
    Testing the applicable service function which includes the
    convertToXML call with the WSDL Test Explorer correctly returns
    the Address field to include the nillable reference eg
    ?Name?James?/Name? ?Address xsi:nil='true'/? ?/XML?
    
    b) Remove the nillable reference within the record.
    recordXML type BasicRecord
            Name string;
            Address String;
    end
    
    Testing the service function again with the WSDL Test Explorer
    incorrectly returns the Address field eg ?XML?
    ?Name?James?/Name? ?Address/? ?/XML?
    
    The Help reference for XMLElement confirms the Address field
    should have been omitted in (b) ie
    http://publib.boulder.ibm.com/infocenter/rbdhelp/v7r5m0/topic/co
    m.ibm.egl.lr.doc/topics/regl_core_xml_element.html
    
    'nillable
    A Boolean value indicates whether the element to be written to
    an XML string is nillable. The choice is as follows: If the
    value is false (the default), the EGL Runtime does not write an
    element to the XML string when the content is null .'
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Nullable record fields can't be converted to minoccurs=0
    

Problem conclusion

  • Fixed record XML generation to correct nillable=false
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM54270

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-12-13

  • Closed date

    2012-01-27

  • Last modified date

    2012-01-27

  • 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

    RATL BUS DEV

  • Fixed component ID

    5724S5000

Applicable component levels

  • R801 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
27 January 2012