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:errorCode>BEA-382502</con:errorCode> |
| OSB Service Callout action received an error response |
| <con1:http-response-code>500</con1:http-response-code> |
| </con1:ErrorResponseDetail> |
| <con:node>ProcessGetOrdertoGetPage</con:node> |
| <con:pipeline>ProcessGetOrdertoGetPage_request</con:pipeline> |
| <con:stage>getOrdertogetPage</con:stage> |
| <con:path>request-pipeline</con:path> |
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:mode>request-response</con:mode> |
| <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> |
| <con:doOutboundWss>false</con:doOutboundWss> |
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