3.1.4.10 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 wsam:Action="http://tempuri.org/ISearchApplicationAdminWebService/GetContentSources" message="tns:ISearchApplicationAdminWebService_GetContentSources_InputMessage"/> <wsdl:output wsam:Action="http://tempuri.org/ISearchApplicationAdminWebService/GetContentSourcesResponse" message="tns:ISearchApplicationAdminWebService_GetContentSources_OutputMessage"/> </wsdl:operation>
The protocol client sends an IsearchApplicationAdminWebService_GetContentSources_InputMessage request message and the protocol server responds with an IsearchApplicationAdminWebService_GetContentSources_OutputMessage 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 FaultException<ExceptionDetail> message.
The protocol server MUST obtain the properties of every content source in the crawler application.
If the properties were successfully returned, the protocol server MUST return the properties of all content sources the GetContentSourcesResult element of the response message.
For all other errors, the protocol server MUST send a FaultException<ExceptionDetail> message to the protocol client.