Oracle Service Bus Using Transfer-Encoding=chunked By Default Causes Failures if Calling a Peoplesoft Web Service

(Doc ID 859236.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Service Bus - Version 10.3 and later
Information in this document applies to any platform.

Symptoms

In OSB 10gR3 you try to call a Peoplesoft (8.4.7_06) web service deployed on WLS 8.1 Sp5. The business service was created based on the Peoplesoft WSDL. While testing the business service, you get the following SOAP fault from the peoplesoft service:

ERROR
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
      <faultcode>SOAP-ENV:Server</faultcode>
      <faultstring>Server Error</faultstring>
      <detail>
       <IBResponse type="error">
        <DefaultTitle>Integration Broker Response</DefaultTitle>
        <StatusCode>20</StatusCode>
        <MessageID>10201</MessageID>
        <DefaultMessage>
           Integration Gateway failed while processing the message
           java.lang.IllegalStateException getReader() called after getInputStream() called
        </DefaultMessage>
       </IBResponse>
      </detail>
    </SOAP-ENV:Fault>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

STEPS
The issue can be reproduced with the following steps:
1. Create a webservice and deploy it on WLS 8.1 SP5
2. Create a business service in OSB based on the above WSDL with all default configuration
3. Run the business service and you can expect to see the above reported exception



Cause

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