webM:exception error handler

Hi All,

I was trying to get a list of faults in a soap fault. for the below error :

<soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/”>
soapenv:Body
soapenv:Fault
soapenv:Server
[ISS.0088.9256] Fault returned by invoked service
http://sss.bbbb:5555/ws

<ser-root:SoapFaultDoc xmlns:ser-root=“http://sss.bbb:5555/ws” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>


RelatedContextId is not allowed in this message type (ST-230-020)|ReferenceTransactionId is not allowed in this message type (ST-230-022)|Invalid value. Valid values: E30 OR E31 (ST-230-031)|!Exactly one Market Service should be identified as the Legal Default Service (ST-INT-230-071)

Technical Reject
</ser-root:SoapFaultDoc>

</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>

i want to have a multiple </ser-root:SoapFaultDoc> nodes. But i am not able to get it. when i am trying to do this, by using DocumentList of . I am getting the below error:

     <detail xmlns:webM="http://www.webMethods.com/2001/10/soap/encoding">
        <webM:exception>
           <webM:className>com.wm.lang.flow.FlowException</webM:className>
           <webM:message xml:lang=""/>
        </webM:exception>
      </detail>

can anybody help on the above issue. how i can have multiple ser-root:SoapFaultDoc nodes in .

T&R,
Sadiq.

Try exploring the below services. I hope this must get you the desired output

pub.soap.handler:getFaultBlock

pub.soap.utils:convertToVersionSpecificSOAPFault

thanks, with pub.soap.utils:convertToVersionSpecificSOAPFault we can do it, but it is not helping to get the response in SoapUI.

i want in the below format,

ser-root:SoapFaultDoc
00
error
</ser-root:SoapFaultDoc>

ser-root:SoapFaultDoc
01
error1
</ser-root:SoapFaultDoc>

can we achieve this in WebMethods.

did you try with custom Fault Doc? you can create an IS doc with desired fault doc structure and then attach it in provider.

I tried by creating a custom document and appended in soap Operation . it will work only for one single block. But for multiple blocks of under its giving the WebM:exception error.