Troubleshooting
Problem
You notice an exception occurs when a web service provider running on WebSphere Application Server receives a SOAP request. The stack trace logged to the application server's SystemOut.log will look similar to the following:
[]
[5/12/06 5:57:07:770 GMT-08:00] 00000040 InternalExcep E
com.ibm.ws.webservices.engine.InternalException
]
Cause
The problem occurs if the Content-length HTTP header is calculated to the wrong value by the web service client runtime. Many times, this type of error occurs in scenarios where WebSphere Application Server is interoperating with non-WebSphere Application Server web service clients. br>
The WebSphere Application Server web services engine cannot complete processing if the wrong length is included in the HTTP request. This results in a failure to process the web service request.
Resolving The Problem
To resolve the problem, review the code for the web service client and ensure that the Content-length HTTP header is calculated correctly. In some cases, it could be the web service client's runtime which is doing the Content-length calculation. If this is the case, then it would be necessary to consult the vendor of that runtime.
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21239783