The status of the request to Miradore web service can be seen in two different ways:
HTTP Status Code within each response
No errors: 200
Errors: Common HTTP error codes
StatusCode attribute within response XML element:
<Response MDVersion="3.5.0" StatusCode="200" Type="Referred" ExportDate="26.11.2012 15:41:15"/>
On error, the service generates an error response containing brief description and additional details on error:
<?xml version="1.0" encoding="UTF-8"?>
<Response MDVersion="3.5.0" StatusCode="400">
<Error>
<StatusCode>400</StatusCode>
<Description>Bad Request</Description>
<Details>Invalid filter: Item 'Asset' does not have attribute 'tag'</Details>
</Error>
</Response>
Related to