Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SOAPHTTP request error BEA-382502

TarakJun 16 2014

Hello All,

I am trying to publish a message on to a HTTPPOST request from OSB but i am gettingĀ  BEA-382502 error. I tried google but its help me much.

complete error...

<con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-382502</con:errorCode>
<con:reason>
OSB Service Callout action received an error response
</con:reason>

<con:details>
<con1:ErrorResponseDetail xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
<con1:http-response-code>500</con1:http-response-code>
</con1:ErrorResponseDetail>

</con:details>
<con:location>
<con:node>ProcessGetOrdertoGetPage</con:node>
<con:pipeline>ProcessGetOrdertoGetPage_request</con:pipeline>
<con:stage>getOrdertogetPage</con:stage>
<con:path>request-pipeline</con:path>
</con:location>
</con:fault>

I tried the solution from the link BEA-382502 -- OSB Service Callout action received an error response but it didn't help in my case

Steps created in OSB:-

1) Created pipe line

2) Added stage

3) Created variables in assign activity in stage

4) Added service callout with request and response variable and checked "Configured payload document". In request action set header variable by checking radio button "others" and given the header name and in action side checked set header to "some value".

But i am not sure where do i went wrong but i am getting fault.

Also i observed that the input request value wraps with Soap envelop tags which i want to avoid it, so please let me know how to do it.

Also its observed in the flow/Invocation trace my $outbound variable in Invoked service shows as below

<con:endpoint name="BusinessService$OrderHistory-POC-CallHttpPostService$Services$BusinessService$ProducHttpPOSTe_getPage" xmlns:con="http://www.bea.com/wli/sb/context">
<con:service/>
<con:transport>
<con:mode>request-response</con:mode>
<con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
<tran:user-header name="InteropApiName" value="getPage"/>
<tran:user-header name="IsFlow" value="N"/>
<tran:user-header name="ServiceName" value="getPage"/>
<tran:user-header name="YFSEnvironment.userId" value="admin"/>
<http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
<http:SOAPAction>""</http:SOAPAction>
</tran:headers>
</con:request>
</con:transport>
<con:security>
<con:doOutboundWss>false</con:doOutboundWss>
</con:security>
</con:endpoint>

In this request i don't the xml body as part of header. this is now it will show in OSB?? if not correct how i can get body along with in the request tag.

Its is clearly that i am publishing improper msg from OSB. I tried the same from SOAP UI and getting successful response back from HTTPPOST.

The only different from the body msg from OSB and SOAP is in SOAP i am send request with out namespace url and prefix, but in OSB i am sending it.

An pointers toward solution would be helpful.

Regards,

TJ

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 14 2014
Added on Jun 16 2014
0 comments
1,679 views