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
The product now allows you to specify the Content-Length in HttpRequestHeader to 0 in either form. --------------------------------------------------------------- The fix is targeted for delivery in the following PTFs: Version Maintenance Level v9.0 9.0.0.6 The latest available maintenance can be obtained from: http://www-01.ibm.com/support/docview.wss?rs=849&uid=swg27006041 If the maintenance level is not yet available,information on its planned availability can be found on: http://www-1.ibm.com/support/docview.wss?rs=849&uid=swg27006308 ---------------------------------------------------------------
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