How to customize SOAP fault messages in 5.5? And, How to add fault tag in the generated WSDL?
We are working on V5.5 sp2. We are facing the below challenges. There is a solution for below issues in 6.x. Can anyone help find the workaround or a solution to get around this issue?
1. How can we customize SOAP fault messages like below to have a <detail> tag under <Fault> tag ?
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>Nation Rating Tool Exception</faultstring>
<detail>
<ns3:ServiceException xmlns:ns3="http://abc.org/dummy/services/test/v1" xmlns:ns2="http://abc.org/dummy/services/test/v1/types">
<ns2:exception>
<ns2:severity>ERROR</ns2:severity>
<ns2:type>BUSINESS</ns2:type>
<ns2:code>4004</ns2:code>
</ns3:ServiceException>
</detail>
</soapenv:Fault>
2. How can the generated WSDL show fault tags?