IBM Support

IT12471: ADD FLEXIBILITY TO SPECIFY THE CONTENT-LENGTH IN HTTPREQUEST HEADER

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

  • APAR IT01763 provided functionality to suppress Content-Length
    in HttpRequest header for GET method.
    
    If a "Content-Length: 0" header is required then it can be
    explicitly requested by using ESQL in a Compute node before the
    HTTPRequest node to
    SET OutputRoot.HTTPRequestHeader."Content-Length" = '0';
    
    However, when you specify the Content-Length as 0 (i.e. the
    value without quotes) then broker throws an error:
    
    BIP2328E: A value of SQL datatype ''INTEGER'' encountered when
    datatype ''CHARACTER''.
    

Local fix

  • Set the content-length as
    SET OutputRoot.HTTPRequestHeader."Content-Length" = '0';
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of IBM Integration Bus V9.0 using the HttpRequest
    node.
    
    
    Platforms affected:
    MultiPlatform, z/OS
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    You should be allowed to suppress the "Content-Length" for the
    GET or HEAD method when the request is empty, i.e. has a length
    zero.  If  "Content-Length: 0" header is required in the HTTP
    Request  then it can be explicitly requested  by using ESQL in a
    Compute node before the HTTPRequest node.  The ESQL  can be
    written as:
       SET OutputRoot.HTTPRequestHeader."Content-Length" = '0';
    
    However, if the ESQL is written so that the Content-Length is
    set to 0 (i.e without single quotes) then an error is thrown at
    runtime as follows:
    BIP2328E: A value of SQL datatype ''INTEGER'' encountered when
    datatype ''CHARACTER'' expected.
    
    There are a number of resource name changes between WebSphere
    Message Broker and IBM Integration Bus Version 9.0.  For details
    visit
    http://pic.dhe.ibm.com/infocenter/wmbhelp/v9r0m0/topic/com.ibm.e
    tools.mft.doc/bb23814_.htm
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT12471

  • Reported component name

    INTEGRATION BUS

  • Reported component ID

    5724J0530

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-11-27

  • Closed date

    2016-06-09

  • Last modified date

    2016-06-09

  • 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

    INTEGRATION BUS

  • Fixed component ID

    5724J0530

Applicable component levels

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSNQK6","label":"IBM Integration Bus"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
23 March 2020