3.1.4.47 RemoveCrawlMapping

This method is used to remove a crawl mapping from the portal content project.

 <wsdl:operation name="RemoveCrawlMapping">
         <wsdl:input message="RemoveCrawlMappingSoapIn"/>
         <wsdl:output message="RemoveCrawlMappingSoapOut"/>
 </wsdl:operation>

The protocol client sends a RemoveCrawlMappingSoapIn request message and the protocol server responds with a RemoveCrawlMappingSoapOut 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 then updates the current configuration version of the crawler application to the value of versionIn+1.

  • If no crawl mapping can be found which has an access URL matching the source element in the request message, the protocol server MUST throw a SOAP fault message containing a COMException with the HRESULT field set to 0x80040d06.

  • If the crawl mapping exists, the protocol server MUST remove the crawl mapping from the portal content project.

  • On success, the protocol server MUST return the updated configuration version of the crawler application in the RemoveCrawlMappingResult element in the response message.

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