If an error occurs during the execution of a SOAP Service and if the error is not caught, it is sent back to the client using the SOAP-ENV:Fault element.
The following code example shows an example of a SOAP response sent from the Bridge with an error message in it:
<?xml version="1.0" encoding="utf-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <SOAP-ENV:Fault> <faultcode>Server</faultcode> <faultstring>Server error</faultstring> <detail> <message> <category>Internal</category> <domain>SEI</domain> <code>8</code> <description>Parsing request failed</description> </message> <message> <category>External</category> <domain>SOAP</domain> <code>11</code> <description>Operation "urn:AddressPort:Read" is unknown</description> </message> </detail> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Each error has the same structure when written to the SOAP response.
Overview
Content Tools