Can someone give any direction on how to create/return custom SOAP-Fault from the web service exposed on wm 6.5 sp3. I was also looking at details around webService Developers guide and SOAP Developers Guide but wasn’t able to locate this info?
Any help is much appreciated.
I was able to do it with below step.
- Generate a Custom SOAP-FAULT document, convert it to string and then node
- Change the HTTP response code by using pub.flow:setResponseCode (eg: set to 500)
- Add the SOAP-FAULT to soapResponseData by using pub.soap.utils:addBodyEntry
Thanks
AmaR