3.1.4.14 RemoveContentTypeXmlDocument

This operation<19> removes a document from the document collection of a site content type. This operation is defined as follows:

 <wsdl:operation name="RemoveContentTypeXmlDocument">
     <wsdl:input message="tns:RemoveContentTypeXmlDocumentSoapIn" />
     <wsdl:output message="tns:RemoveContentTypeXmlDocumentSoapOut" />
 </wsdl:operation>

The protocol client sends a RemoveContentTypeXmlDocumentSoapIn request message, and the protocol server responds with a RemoveContentTypeXmlDocumentSoapOut response message, as follows:

  1. If the content type specified by the contentTypeId is not found, the protocol server MUST return a SOAP exception.

  2. If an XML document in the requested content type has the namespace specified by the documentUri, it is removed from the document collection.

  3. If no error is raised, the protocol server MUST return a success RemoveContentTypeXmlDocumentResult.