IBM Support

PI05597: SOAP MESSAGE HEADER GENERATION FAILS FOR SOME WSDLS

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • IBM Rational Integration Tester (RIT) creates SOAP messages from
    WSDL definitions with incorrect header content.
    The problem occurs when the WSDLs contains xsd elements
    referenced by both message header and message body definitions.
    
    Headers are not visible in the Roots tab of Architecture School
    Schema Library.
    
    The JVM console shows the following error:
    
    "java.lang.RuntimeException: Unable to build SOAP Headers, null"
    
    STEPS TO REPRODUCE:
    
    1. Import the WSDL into RIT
    2. Create a test
    3. Add a messaging test action
    4. Apply the schema from the WSDL
    5. Right-click on first child node and click 'Properties'
    6. Click the SOAP Headers tab.
    7. Click 'Enable'
    8. Click 'Preview'
    
    
    EXPECTED RESULT:
    
    <SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP
    -ENV:Header>
       <tns:priority xmlns:tns="http://example.companyInfo"/>
    </SOAP-ENV:Header><SOAP-ENV:Body>
       <tns:getCompanyInfo xmlns:tns="http://example.companyInfo">
          <tns:tickerSymbol/>
          <tns:priority/>
       </tns:getCompanyInfo>
    </SOAP-ENV:Body></SOAP-ENV:Envelope>
    
    
    ACTUAL RESULT:
    
    <?xml version="1.0"
    encoding="UTF-8"?><GetCompanyInfo___INPUT___getCompanyInfoReques
    t>
       <tns:getCompanyInfo xmlns:tns="http://example.companyInfo">
          <tns:tickerSymbol/>
          <tns:priority/>
       </tns:getCompanyInfo>
    </GetCompanyInfo___INPUT___getCompanyInfoRequest>
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rational Integration Tester users working with Web Services. *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Rational Integration Tester fails to generate valid SOAP     *
    * messages when the service WSDL contains XML Schema elements  *
    * that are referenced by both message header and message body  *
    * definitions.                                                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Rational Integration Tester version 8.5.1.1 or    *
    * above.                                                       *
    ****************************************************************
    

Problem conclusion

  • A fix for this issue was included in Rational Integration Tester
    version 8.5.1.1.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI05597

  • Reported component name

    RATL INTEGRA TE

  • Reported component ID

    5725G79IT

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-11-06

  • Closed date

    2014-01-06

  • Last modified date

    2014-01-06

  • 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 INTEGRA TE

  • Fixed component ID

    5725G79IT

Applicable component levels

  • R850 PSN

       UP

  • R851 PSY

       UP



Document information

More support for: Rational Test Workbench

Software version: 8.5

Reference #: PI05597

Modified date: 06 January 2014