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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

how to get osb fault detail payload's element value?

leonard.xiaJan 24 2013 — edited Jan 24 2013
I have a proxy service, in the service error handler, my business fault is under fault detail node, such as following:
<soap:Body xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>invalid taskId:1234</faultstring>
<detail>
+<ns1:WFWSException xmlns:ns1="http://service.webservice.wfws.xxx.com/">+
+<errorCode xsi:type="xs:int" xmlns:ns2="http://service.webservice.wfws.xxx.com/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">-1</errorCode>+
+<errorInfo xmlns:ns2="http://service.webservice.wfws.xxx.com/">invalid taskId:1234</errorInfo>+
+<message xmlns:ns2="http://service.webservice.wfws.xxx.com/">invalid taskId:1234</message>+
+</ns1:WFWSException>+
</detail>
</soap:Fault>
</soap:Body>

I want to get WFWSException's errorCode, errorInfo and message seperately, but detail is anytype, how can I do?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 21 2013
Added on Jan 24 2013
4 comments
400 views