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!

OSB: Help with http status codes - is it possible?

696265May 7 2009 — edited Oct 16 2013
I have a question about HTTP response codes. Right now I have an Oracle Service Bus proxy for a REST service that does some validation on the query string from the URL. If the validation fails, I want to send back an HTTP status code of 400 BAD REQUEST but cannot figure out how to do this. Does anyone know how to change the status codes on HTTP responses from the OSB proxy?

I tried modifying the $outbound (in ./ctx:transport/ctx:response/http:http-response-code), but there's nothing in $outbound when I go to edit it even. I do not even know if this is the right track of how to get the OSB to modify the HTTP status code.

Thanks.
Jason
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 13 2013
Added on May 7 2009
10 comments
9,430 views