Soap Service with error in a different tag
Hi All,
I have created a SOAP service. And want to show the error in below format. When I am setting the value in the faults tab getting the details in <faultstring> whereas I want the details in the <detail><detailedErrorMessage> tag. How to get it there?
<env:Envelope>
<env:Body>
<env:Fault>
<faultcode>env:Server</faultcode>
<faultstring>Server Error</faultstring>
<detail>
<detailedErrorMessage>Integration Point missing</detailedErrorMessage>
</detail>
</env:Fault>
</env:Body>
</env:Envelope>