IBM Support

PI48668: ADD A JVM PROPERTY TO ENABLE THE "ORG.APACHE.AXIOM.OM.OMFORMAT.U SE.CTEBASE64.FORNONTEXTUALATTACHMENTS" FORMAT PROPERTY.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as new function.

Error description

  • Add a JVM property to enable the
    "org.apache.axiom.om.OMFormat.use.cteBase64.forNonTextualAttachm
    ents" format property.
    
    The
    "org.apache.axiom.om.OMFormat.use.cteBase64.forNonTextualAttachm
    ents" is an axiom property, used to set the "non textual"
    attachments "content-transfer-encoding" type to "base64"
    
    The value of this property is a Boolean. A missing value
    indicates the default action, which is Boolean.FALSE. If
    Boolean.TRUE, attachments that are "non textual" are written
    out with a "content-transfer-encoding" type of "base64".
    
    Example:
    An attachment with a content-type of "image/gif" is a
    non-textual attachment.
    An attachment with a content-type of "application/soap+xml" is
    an textual attachment.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server users of   *
    *                  JAX-WS web services.                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: "Content-Transfer-Encoding" type of a   *
    *                      non-textual attachment is always set    *
    *                      to "binary" even it is set to           *
    *                      "base64" in the application source      *
    *                      code.                                   *
    ****************************************************************
    * RECOMMENDATION:  Install a fix pack containing this APAR.    *
    ****************************************************************
    Non-textual attachment "Content-Transfer-Encoding" type is
    "binary" even it is set to "base64" in the application source
    code, as follow:
    SOAPMessage message = arg0.getMessage();
    AttachmentPart ap = message.createAttachmentPart();
    ap.setMimeHeader("Content-Transfer-Encoding", "base64");
    

Problem conclusion

  • There is a switch in the axiom code to set "base64" in
    "Content-Transfer-Encoding" for attachments. Added a JVM
    property
    "com.ibm.ws.websvcs.transport.http.isAttachmentBase64Format"
    to enable this axiom format property.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.9.  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

    PI48668

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-09-14

  • Closed date

    2015-10-26

  • Last modified date

    2015-10-26

  • 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

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

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

Document Information

Modified date:
28 April 2022