3.1.4.2 ActivateProfileImport

This operation is used to enable or disable the user profile import project.

 <wsdl:operation name="ActivateProfileImport">
         <wsdl:input message="ActivateProfileImportSoapIn"/>
         <wsdl:output message="ActivateProfileImportSoapOut"/>
 </wsdl:operation>

The protocol client sends an ActivateProfileImportSoapIn request message and the protocol server responds with an ActivateProfileImportSoapOut 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.

  • The protocol server sets the enabled property of the user profile import project to the value of the enable element from the request message.

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

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