Exception 'Premature EOF encountered' when using http_client.jar with Web Services in OracleAS 10.1.3.x
Last updated on FEBRUARY 10, 2017
Applies to:Web Services - Version 10.1.3.3.0 to 10.1.3.4.0 [Release Oracle10g]
Information in this document applies to any platform.
***Checked for relevance on 18-Dec-2013***
When attempting to deploy a Web Service application in OracleAS 10.1.3.x, which includes the http_client.jar bundled with this release, the deployment fails.
On the remote end, the Web Service request fails with HTTP/400 BAD REQUEST. If a network trace is performed, it is observed that the remote midtier is seeing multiple "Content-length" headers in each bad
request, similar to:
POST /..../WebService HTTP/1.1
This triggers the following error:
09/03/30 07:32:47 SearchHandler.execute(): ; nested exception is: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException:
javax.xml.soap.SOAPException: Message send failed: Premature EOF encountered
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms