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!

sending soap fault response from a WSDL proxy service

Gsahoo-OracleJan 19 2011 — edited Jan 25 2011
Hi All,
I have a WSDL based proxy service. I am expecting if a message comes with incorrect format according to w3c addressing protocol, it will generate a soap fault automatically. But it looks like it does not do that.
It just returns errorcode 500- Internal server error. Do I need to build soap fault in system error handler to be returned as part of a error response?
In the proxy I also check for a specific element in the soap header and if not present I raise error. This error also go to system error handler attached to the proxy. I am using reply with failure in the system error handler . I need this error to be returned as a soap fault to the external caller of this proxy service but It does not return any soap fault, returning only the error code.

If I need to build the soap fault then what variable should I populate to return this to the caller? fault variable or body variable?
I need to send both the http response code and soap fault to the caller.

Please suggets
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 22 2011
Added on Jan 19 2011
9 comments
1,658 views