IBM Support

PH18762: ADD SUPPORT FOR GZIP ENCODING

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • The CXF code in open liberty cannot process zip encoded
    incoming SOAP message and throws XML processing exception.
    CXF code needs to be updated to support zip encoded SOAP
    message.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty - Web Services (JAX-WS)      *
    *                  jaxws-2.2 feature                           *
    ****************************************************************
    * PROBLEM DESCRIPTION: org.apache.cxf.binding.soap.SoapFault:  *
    *                      Error reading XMLStreamReader           *
    *                      processing gzip encoded SOAP message.   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The Web services CXF code in Liberty could not process an
    incoming SOAP message that was gzip encoded and failed with the
    following error:
    org.apache.cxf.binding.soap.SoapFault: Error reading
    XMLStreamReader.
    at
    rg.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.ha
    ndleMessage ReadHeadersInterceptor.java:242)
    at
    org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.h
    andleMessage(ReadHeadersInterceptor.java:62)
    at
    org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInte
    rceptorChain.java:262)
    

Problem conclusion

  • This problem occurred because the CXF code did not have the
    correct Gzip interceptor loaded to process the gzip encoded SOAP
    message. The problem was fixed by adding a custom JVM property:
    cxf.add.gzip.in.interceptor. If this JVM system property is set
    to true, CXF will load the correct Gzip interceptor for
    processing the gzip encoded SOAP message.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 20.0.0.1.  Please refer to the Recommended Updates page for
    delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

  • There is no workaround available for this problem.
    

Comments

APAR Information

  • APAR number

    PH18762

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-11-04

  • Closed date

    2020-01-07

  • Last modified date

    2020-01-07

  • 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

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels



Document information

More support for: WebSphere Application Server

Software version: 850

Reference #: PH18762

Modified date: 07 January 2020