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!

Return HTTP Error codes from OSB(11g) local proxy to http proxy

2706821Sep 12 2016 — edited Sep 21 2016

Hello All,

I have scenario where Client->PS1(http)->PS2(local)->BS. Everything is working fine as expected except for the part where I have to return HTTP error codes from local proxy (PS2)to http proxy (PS1).

On local proxy error handler, I have Reply action (with Failure) and an insert action as follows
Expression – <http:http-response-code>404</http:http-response-code>
Location – as last child of
XPath – ./ctx:transport/ctx:response

In Variable – inbound

In case of errors,On the http proxy (PS1) I am only getting 500 error code instead of what I set on local proxy.

Can you guys help me how to pass http error codes from local proxy(PS2) to http proxy(PS1)?

Thank you
Krish

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 19 2016
Added on Sep 12 2016
3 comments
1,047 views