Thrown soapenv:Fault

Hello,

how Can I throw SOAP-Fault Exception in try/catch block to be look like that:

<s:Envelope xmlns:s=“http://schemas.xmlsoap.org/soap/envelope/”>
<s:Body>
<s:Fault>
s:1000
B??d autoryzacji u?ytkownika


1000
1000


</s:Fault>
</s:Body>
</s:Envelope>

I tried use:

pub.soap.utils:convertToVersionSpecificSOAP
pub.flow:setResponseCode
pub.xmldata:xmlDataToString
pub.soap.utils:stringToSoapData
pub.soap.utils.addBodyEntry

Hi Lukasz,

did you check the WS Developers Guide if there are any hints on how to create the SOAP Fault?

The structure might be dependent on SOAP version, IS version etc. being used.

Do you have WSDL and/or XSD available for this interface?
This might ease the creation of appropriate document types and web service descriptor nodes in Designer.

Regards,
Holger