IBM Support

PK83055: JAX-WS WEB SERVICES CAN'T PROPAGATE RESPONSE ATTACHMENT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • We are unable to send outbound attachments (via the
    WebServiceContext's MessageContext), from the
    response side when using a JAX-WS provider.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All IBM WebSphere Application Server        *
    *                  Feature Pack for Web Services users of      *
    *                  JAX-WS web services.                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: The JAX-WS property                     *
    *                      "javax.xml.ws.binding.attachments.outbo *
    *                      und" is not working at the webservice   *
    *                      endpoint                                *
    ****************************************************************
    * RECOMMENDATION:  Install a fixpack containing this APAR      *
    ****************************************************************
    A user can set the JAX-WS property
    "javax.xml.ws.binding.attachments.outbound" on a JAX-WS
    MessageContext to place attachments in the outbound message.
    
    Here is an example usage:
    
       MessageContext mc = <get JAX-WS MessageContext>;
    
       Map<String, DataHandler> attachmentMap =
         new HashMap<String, DataHandler>();
    
       attachmentMap.put(myCID, myAttachmentDataHandler);
    
       mc.put("javax.xml.ws.binding.attachments.outbound",
              attachmentMap);
    
    If the "javax.xml.ws.binding.attachments.outbound"
    property is set in the web service endpoint implementation or
    in a JAX-WS outbound response Handler, the attachments might
    not be added to the outbound message.  The receiver of the
    message (a client application) might fail.
    

Problem conclusion

  • The JAX-WS runtime is corrected to ensure that the outbound
    MessageContext respects the setting of the
    "javax.xml.ws.binding.attachments.outbound" property.
    
    The fix for this APAR is currently targeted for inclusion in
    fixpack 6.1.0.25.  Please refer to the Recommended Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK83055

  • Reported component name

    WEBSERVIC FEATU

  • Reported component ID

    5724J0850

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-03-20

  • Closed date

    2009-04-02

  • Last modified date

    2009-04-02

  • 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

    WEBSERVIC FEATU

  • Fixed component ID

    5724J0850

Applicable component levels

  • R610 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 December 2021