Errors

If an error occurs, the response will be a SOAPFault, eg,

<?xml version="1.0" encoding="utf-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <soapenv:Body>

    <soapenv:Fault>

      <faultcode>soapenv:Server.userException</faultcode>

      <faultstring>3: Your session has timed out.  Please login and try again.</faultstring>

      <detail>

        <ns1:fault xmlns:ns1="http://config.dekho.esriau.com.au">

          <ns1:errorMessage>Your session has timed out.  Please login and try again.</ns1:errorMessage>

          <ns1:messageCode>3</ns1:messageCode>

        </ns1:fault>

        <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">bear</ns2:hostname>

      </detail>

    </soapenv:Fault>

  </soapenv:Body>

</soapenv:Envelope>

SOAP toolkits usually provide the convenience of translating received SOAPFaults to exceptions.

A list of error messages is contained in Service Errors.


API documentation