The DeleteContentTypeXmlDocument operation<45> is used to delete an XML document property from XML document collection in a content type of a list.

 <wsdl:operation name="DeleteContentTypeXmlDocument">
     <wsdl:input message="DeleteContentTypeXmlDocumentSoapIn" />
     <wsdl:output message="DeleteContentTypeXmlDocumentSoapOut" />

The protocol client sends a DeleteContentTypeXmlDocumentSoapIn request message (section and the protocol server responds with a DeleteContentTypeXmlDocumentSoapOut response message (section, as follows:

  1. If the specified listName is a valid GUID and corresponds to the identification of a list on the site, use that list.

  2. If the specified listName is not a valid GUID or does not correspond to the identification of a list on the site, check if the listName corresponds to the list title of a list on the site and if so, use that list.

  3. If the specified listName does not correspond to a list from either of these checks, the protocol server SHOULD<46> return a SOAP fault with error code 0x82000006. This indicates that the list does not exist or might have been deleted by another user.

  4. If the content type specified by the content TypeId element is not found, a SOAP fault MUST be thrown. There is no error code with this fault.

  5. If an XML document with the same namespace URI [RFC2396] specified by documentUri exists, it MUST be deleted.

  6. If no SOAP fault has been thrown, the protocol server MUST respond with the DeleteContentTypeXmlDocumentResult element (section