PQ67220: WHITE SPACE IN CONTENT-LENGTH HEADER CAUSES ERROR IN SOAP | |||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description Customer was running some WSDL code and received this stack trace (with some truncation of line numbers) Request: mappings.AgentEmailRecord_TypeContentType@3a31dcb9 [SOAPException: faultCode=SOAP-ENV:Client; msg=19212 ; targetE xception at org.apache.soap.transport.http.SOAPHTTPConnection.send at org.apache.soap.messaging.Message.send at mappings.CallAgentEmailProxy.CallAgentEmailRun at mappings.CallAgentEmailProxy.CallAgentEmailRun( at mappings.TestClient.main(TestClient.java:25) java.lang.NumberFormatException: 19212 at java.lang.Integer.parseInt(Integer.java:415) at java.lang.Integer.parseInt(Integer.java:415) at java.lang.Integer.parseInt(Integer.java:455) at org.apache.soap.util.net.HTTPUtils.post(HTTPUtils.java:296) at org.apache.soap.transport.http.SOAPHTTPConnection.send at org.apache.soap.messaging.Message.send(Message.java:123) at mappings.CallAgentEmailProxy.CallAgentEmailRun_(CallAgentEma at mappings.CallAgentEmailProxy.CallAgentEmailRunLocal fix Problem summary **************************************************************** * USERS AFFECTED: All WebSphere Application Server users of * * SOAP based web service. * **************************************************************** * PROBLEM DESCRIPTION: The SOAP runtime was not stripping * * whitespace from the content-length * * header value. Thus, when trying to * * convert the length from a text-string * * (with whitespaces) to an integer, the * * conversion failed. * **************************************************************** * RECOMMENDATION: * **************************************************************** The user was running some WSDL code and received this stack trace (with some truncation of line numbers) Request: mappings.AgentEmailRecord_TypeContentType@3a31dcb9 SOAPException: faultCode=SOAP-ENV:Client; msg=19212 ; targetException at org.apache.soap.transport.http.SOAPHTTPConnection.send (SOAPHTTPConnection.send) at org.apache.soap.messaging.Message.send(Message.java:123) at mappings.CallAgentEmailProxy.CallAgentEmailRun_ (CallAgentEmailProxy. at mappings.CallAgentEmailProxy.CallAgentEmailRun (CallAgentEmailProxy.java: at mappings.TestClient.main(TestClient.java:25) . java.lang.NumberFormatException: 19212 at java.lang.Integer.parseInt(Integer.java:415) at java.lang.Integer.parseInt(Integer.java:415) at java.lang.Integer.parseInt(Integer.java:455) at org.apache.soap.util.net.HTTPUtils.post(HTTPUtils.java:296) at org.apache.soap.transport.http.SOAPHTTPConnection.send (SOAPHTTPConne at org.apache.soap.messaging.Message.send(Message.java:123) at mappings.CallAgentEmailProxy.CallAgentEmailRun_ (CallAgentEmailProxy. at mappings.CallAgentEmailProxy.CallAgentEmailRun (CallAgentEmailProxy.j at mappings.TestClient.main(TestClient.java:25)Problem conclusion The SOAP runtime, specifically the HTTPUtils.post() was enhanced to strip out any whitespace that may exist, before attempting the conversion.Temporary fix Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
SRLS
|
Document Information |
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ67220
IBM Group: Software Group
Modified date: Oct 29, 2002
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.