SOAP error handling

Web Reports uses standard SOAP faults for most error handling. This includes malformed requests, invalid login credentials, and other unexpected errors. It also includes relevance errors from the GetRelevanceResult method, and notrelevance errors from the GetStructuredRelevanceResult method. Relevance errors from GetStructuredRelevanceResult are listed in the StructuredRelevanceResult object returned from the server. For more information, see GetStructuredRelevanceResult.

The following example demonstrates a request that results in an “invalid user name or password” error:


<s:Envelope xmlns:s="">
      <h:RequestHeaderElement xsi:type="LoginHeader" xmlns:h="" xmlns:xsi="" xmlns="" xmlns:xsd="">
   <s:Body xmlns:xsi="" xmlns:xsd="">
      <GetStructuredRelevanceResult xmlns="">


<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="">
         <faultstring xml:lang="ENU">Invalid username or password.</faultstring>