OSB 12c: Not Able To Test REST Web Service From SOAP UI
(Doc ID 2251252.1)
Last updated on AUGUST 16, 2024
Applies to:
Oracle Service Bus - Version 12.2.1.0.0 and laterInformation in this document applies to any platform.
Symptoms
We are able to test REST services from the OSB Test Console, but SOAP UI is returning a 400 error. Analysis shows that the payloads passed to OSB are both valid and should return the same, but different responses are received
The OSB logs show the following behavior:
Successful call from OSB Test Console
[2016-10-24T22:25:48.272+00:00] [osb_server1] [TRACE] [] [oracle.osb.debug.transports] [tid: [ACTIVE].ExecuteThread: '35' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: x,0:3:1] [APP: Service Bus Framework Starter Application] [partition-name: DOMAIN] [tenant-name: GLOBAL] [FlowId: 000x000O] [SRC_CLASS: com.bea.wli.sb.transports.http.HttpUtil] [SRC_METHOD: debug] JerseyOutboundMessageContext: Response MetaData: <xml-fragment xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:http="http://www.bea.com/wli/sb/transports/http">[[
<tran:headers xsi:type="http:HttpResponseHeaders">
<tran:user-header name="X-Powered-By" value="PHP/5.5.29"/>
<http:Content-Length>6012</http:Content-Length>
<http:Content-Type>application/json</http:Content-Type>
<http:Vary>Accept-Encoding</http:Vary>
</tran:headers>
<tran:response-code>0</tran:response-code>
<tran:encoding>iso-8859-1</tran:encoding>
<http:http-response-code>200</http:http-response-code>
</xml-fragment>
Failed call from SoapUI
[2016-10-24T22:06:32.228+00:00] [osb_server1] [TRACE] [] [oracle.osb.debug.transports] [tid: [ACTIVE].ExecuteThread: '29' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: x,0:1] [APP: Service Bus Framework Starter Application] [partition-name: DOMAIN] [tenant-name: GLOBAL] [FlowId: 0000LVsx000N] [SRC_CLASS: com.bea.wli.sb.transports.http.HttpUtil] [SRC_METHOD: debug] JerseyOutboundMessageContext: Response MetaData: <xml-fragment xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:http="http://www.bea.com/wli/sb/transports/http">[[
<tran:headers xsi:type="http:HttpResponseHeaders">
<http:Connection>close</http:Connection>
<http:Content-Length>226</http:Content-Length>
<http:Content-Type>text/html; charset=iso-8859-1</http:Content-Type>
</tran:headers>
<tran:response-code>1</tran:response-code>
<tran:encoding>iso-8859-1</tran:encoding>
<http:http-response-code>400</http:http-response-code>
</xml-fragment>
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |