4.5 WS-Enumerate Directory Services Extension "FaultDetail" Example
The following example shows a WS-Enumeration specific fault response message returned by Active Directory Web Services with detail element (specified in [MS-ADDM] section 2.6) to an Enumerate request containing an invalid attribute as a sorting property.
-
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://www.w3.org/2005/08/addressing"> <soapenv:Header> <wsa:Action soapenv:mustUnderstand="1"> http://schemas.microsoft.com/2008/1/ActiveDirectory/Data/fault </wsa:Action> <wsa:RelatesTo> urn:uuid:50cfcace-0035-403b-88bf-1355f19eec65 </wsa:RelatesTo> <wsa:To soapenv:mustUnderstand="1"> http://www.w3.org/2005/08/addressing/anonymous </wsa:To> </soapenv:Header> <soapenv:Body> <soapenv:Fault> <soapenv:Code> <soapenv:Value>soapenv:Sender</soapenv:Value> <soapenv:Subcode> <soapenv:Value xmlns:a="http://schemas.microsoft.com/2008/1/ActiveDirectory"> a:InvalidPropertyFault </soapenv:Value> </soapenv:Subcode> </soapenv:Code> <soapenv:Reason> <soapenv:Text xml:lang="en-US">Sorting or Selection Property is invalid.</soapenv:Text> </soapenv:Reason> <soapenv:Detail> <EnumerateFault xmlns="http://schemas.microsoft.com/2008/1/ActiveDirectory" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Error>Selection or Sort property's value is not a valid Active Directory attribute.</Error> <ShortError>InvalidPropertyValueDetail</ShortError> <InvalidProperty> addata:Invalid_Entry </InvalidProperty> </EnumerateFault> </soapenv:Detail> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope>