3.1.4.7 GetContentType

This operation<15> obtains content type data for a specified content type identifier. This operation is defined as follows:

 <wsdl:operation name="GetContentType">
     <wsdl:input message="tns:GetContentTypeSoapIn" />
     <wsdl:output message="tns:GetContentTypeSoapOut" />
 </wsdl:operation>

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

  1. If contentTypeId is null or empty, the protocol server MUST return a SOAP exception.

  2. If contentTypeId does not match the content type identifier of a content type on the site, the protocol server MUST return a SOAP exception.