Integrated SOA Gateway - Web Service - Populate the Fault string when Soap fault
We created a PL/SQL and published a web service using Integrated SOA Gateway. Everything works fine but we would like to do some error handling and was ask by our client to use the SOA Fault.
So when in our PL/SQL we have an error we raise using raise_application_error. It then raises the SOAP Fault but how, and is it possible, to populate the Fault string with a custom message?
Here's the WSDL structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cgo="http://xmlns.oracle.com/apps/custom/soaprovider/plsql/cgo_ws_get_item_information/