IBM Support

JR42012: TEAMWORKS WEB SERVICE CONNECTOR DOES NOT HONOR NILLABLE=TRUE ATTRIBUTE

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • NOTE: APAR 42012 FIX PACKAGE WAS REPLACED ON May 18 2012 TO FIX
    REGRESSION AND PACKAGING ISSUES. DETAILS IN APAR JR42860.
    
    Example - complexType CzWs03TntfUser
    In this type there is an element 'caller' . This attribute is
    nillable and his type is complexType Czws03tntfTcallerUser.
    
    We want to call Web Service cz_ws03_stntf. This WS has 1
    parameter stntfElement.
    We set parameters storetype and notification in stntfElement.
    
    Since we have no information about caller, so we don't need to
    set this attribute in notification (CzWs03TntfUser).
    But we must set all attributes in caller (default values like 0
    or empty string), because nillable (true) elements are not
    handled properly.
    
    By specification if you specify a nillable=true and do not
    initialize the variable then it should return something like:
    
    <ns1:inputParam
    xmlns:ns2="http://www.w3.org/2001/XMLSchema-instance"
    ns2:nil="true"/>
    
    (notice the "nil=true" but in BPM it does not return "nil=true")
    
    For example if you want to send only <items /> element but
    instead will need to send
    <items>
    <amount/>
    <name/>
    <something/>
    .....
    </items>
    
    because nillable (true) elements are not handled properly.
    
    The exception that is thrown is:
    Caught exception while handling request: unexpected element
    name:
    at org.apache.axis.message.SOAPFaultBuilder.createFault
    
    
    After applying this fix there is a chance you can run into the
    issue documented in JR44953 if you have previously applied an
    IFix for JR43231.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of BPM Express, BPM Standard and BPM  *
    *                  Advanced.                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: Teamworks Web Service connector does    *
    *                      not honor nillable=true attribute.      *
    *                      For example if you want to send only    *
    *                      an                                      *
    *                      <items/> element but                    *
    *                      instead you will need to send           *
    *                      <items>                                 *
    *                      <amount/>                               *
    *                      <name/>                                 *
    *                      <something/>                            *
    *                      .....                                   *
    *                      </items>                                *
    *                      because nillable (true) elements are    *
    *                      not handled properly.                   *
    ****************************************************************
    * RECOMMENDATION:  Ifix is Recommended                         *
    ****************************************************************
    Teamworks Web Service connector does
    not honor nillable=true attribute.
    For example if you want to send only
    <items /> element but
    instead you will need to send
    <items>
    <amount/>
    <name/>
    <something/>
    .....
    </items>
    because nillable (true) elements are
    not handled properly.
    The exception that is thrown is:
    Caught exception while handling request: unexpected element
    name:
    at org.apache.axis.message.SOAPFaultBuilder.createFault
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    JR42012

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-02-22

  • Closed date

    2012-04-17

  • Last modified date

    2012-11-29

  • 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

  • R750 PSY

       UP



Document information

More support for: IBM Business Process Manager Standard

Software version: 7.5

Reference #: JR42012

Modified date: 29 November 2012