3.1.4.21 GetContentSources

This operation is used to get information about all the content sources for the specified project of the crawler application.

 <wsdl:operation name="GetContentSources">
         <wsdl:input message="GetContentSourcesSoapIn"/>
         <wsdl:output message="GetContentSourcesSoapOut"/>
 </wsdl:operation>

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

  • On receipt the protocol server validates the versionIn value from the request message. If it doesn’t match the current configuration version of the crawler application, the protocol server MUST throw a SOAP fault message containing an UpdatedConcurrencyException.

  • The protocol server MUST obtain the properties of every content source in the project specified by catalog element in the request message.

  • If the properties were successfully returned, the protocol server MUST return the properties of all content sources the GetContentSourcesResult element of the response message.

  • On error, the protocol server MUST throw a SOAP fault message.