IBM Support

PM29150: xml:lang attribute missing from env:Text element in SOAP 1.2 fault response

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When the JAX-WS WS-Security runtime returns a SOAP fault in
    response to a SOAP 1.2 message, the xml:lang attribute is
    missing from the env:Text element in the returned SOAP fault
    message.
    
    For example, the SOAP fault includes:
    
    <env:Reason>
    <env:Text>faultText</env:Text>
    </env:Reason>
    
    Following is an example of the Reason/Text element that the
    SOAP fault should include:
    
    <env:Reason>
    <env:Text xml:lang="en-US">faultText</env:Text>
    </env:Reason>
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server V7.0 users *
    *                  of WS-Security enabled JAX-WS applications  *
    ****************************************************************
    * PROBLEM DESCRIPTION: xml:lang attribute missing from         *
    *                      env:Text element in SOAP 1.2 fault      *
    *                      response                                *
    ****************************************************************
    * RECOMMENDATION:  Install a fix pack that includes this APAR. *
    ****************************************************************
    When the WS-Security runtime encounters an error in a web
    service, a SOAP fault message is returned to the client
    application.
    
    In response to SOAP 1.2 requests, the JAX-WS WS-Security
    runtime must return SOAP faults that conform to the following
    specification:
    
    http://www.w3.org/TR/soap12-part1/
    
    When the JAX-WS runtime returns a SOAP fault in response to a
    SOAP 1.2 request, the xml:lang attribute is missing from the
    env:Text element that is required by the specification.
    
    The following example is a well-formed SOAP 1.2 fault:
    
      <env:Fault>
       <env:Code>
         <env:Value>env:Sender</env:Value>
         <env:Subcode>
          <env:Value>m:MessageTimeout</env:Value>
         </env:Subcode>
       </env:Code>
       <env:Reason>
         <env:Text xml:lang="en">Sender Timeout</env:Text>
       </env:Reason>
       <env:Detail>
         <m:MaxTime>P5M</m:MaxTime>
       </env:Detail>
      </env:Fault>
    
    The following is an example of the errant Reason/Text element
    that is returned in the SOAP 1.2 fault by the JAX-WS
    WS-Security runtime:
    
       <env:Reason>
         <env:Text>Sender Timeout</env:Text>
       </env:Reason>
    
    The env namespace is http://www.w3.org/2003/05/soap-envelope
    The xml namespace is http://www.w3.org/XML/1998/namespace
    

Problem conclusion

  • The WS-Security runtime added the Text element to the Reason
    element in the SOAP 1.2 fault, but did not add the xml:lang
    attribute to the Text element.
    
    The runtime was updated to add an xml:lang attribute to the
    Text element when returning a SOAP 1.2 fault.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 7.0.0.17.  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

    PM29150

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-12-17

  • Closed date

    2011-01-17

  • Last modified date

    2011-01-17

  • APAR is sysrouted FROM one or more of the following:

    PM27925

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R700 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":"7.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
27 October 2021