how to get osb fault detail payload's element value?
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?