IBM Support

PK57936: THE SAAJ METHOD ADDTEXTNODE() RETURNS XML ENCODED STRINGS FOR CHARACTERS WITH A HIGHER INT VALUE OF 127.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • IBM's SAAJ/SOAP implementation of addTextNode always returns
    an XML encoded sequence for characters over integer value 127.
    A request has been made that the implementation of this method
    allow the option of returning unencoded characters.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of WebSphere Application Server   *
    *                  V6.1.0 web services.                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: web services currently returns XML      *
    *                      encoded strings for character with      *
    *                      an integer value greater than 127       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    web services assumed the CharacterTransferEncoding of 7bit and
    so it used XML encoding for any character with an integer value
    greater than 127.
    

Problem conclusion

  • The ChararacterEncoding indicates the type of encoding that is
    used.  For example, "UTF-8" or "UTF-16".
    
    The CharacterTransferEncoding indicates a subset of that range.
    Previous to this APAR it was always "7bit".
    
    The CharacterTransferEncoding does not affect the
    CharacterEncoding.  It simply supplies a subset range.
    
    We have introduced a custom property that allows the customer to
    force a larger subset "8bit" or "binary".
    When this property is set, two things will happen:
    1) The webservices engine will disable &#; encoding for the
    characters in that range.
    2) The HTTP transport message will have a
    ContentTransferEncoding header set to the supplied value.
    
    The new JVM property is
    "com.ibm.ws.webservices.contentTransferEncoding"
    This property can be set to "7bit", "8bit", or "binary".
    The default for this property is "7bit"
    
    APAR PK57936 requires changes to documentation.
    
    NOTE: Periodically, we refresh the documentation on our
    Web site, so the changes might have been made before you
    read this text. To access the latest on-line
    documentation, go to the product library page at:
    
    http://www.ibm.com/software/webservers/appserv/library
    
    The following changes to the WebSphere Application Server
    Version 6.0.x and Version 6.1.x Information Centers
    will be made available in June, 2008.
    
    The following description of the new JVM custom property
    will be added to the "Java Virtual machine custom properties"
    topic:
    
    com.ibm.ws.webservices.contentTransferEncoding
    
    
    Use this property to specify a range of bits for which
    .XML-encoding is disabled. Typically any integer that is
    greater than 127 is XML-encoded. When you specify this
    custom property:
    
    1. Web services disables encoding for integers that fall
    within the specified range.
    2. The HTTP transport message contains a
    ContentTransferEncoding header that is set to the value
    that is specified for this custom property.
    
    Specify 7bit, if you only want integers greater than 127
    encoded. Specify 8bit, if you only want integers greater
    than 25 encoded. Specify binary, if you want encoding
    disabled for all integers.
    
    The default value is 7bit.
    
    APAR PK57936 is currently targeted for inclusion in Service
    Level (Fix Pack) 6.1.0.19 of WebSphere Application Server V6.1
    for z/OS.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK57936

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-12-10

  • Closed date

    2008-04-09

  • Last modified date

    2008-10-03

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

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

    PK57938

Fix information

  • Fixed component name

    WEBSPHERE FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R610 PSY UK39151

       UP08/09/26 P F809

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

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

Document Information

Modified date:
29 December 2021