4.2.5 SetCrawlRuleCredentials2

Request message:

 <s:Envelope 
   xmlns:s="http://www.w3.org/2003/05/soap-envelope" 
   xmlns:a="http://www.w3.org/2005/08/addressing" 
   xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
   <s:Header>
     <a:Action s:mustUnderstand="1">
       http://tempuri.org/ISearchApplicationAdminWebService/SetCrawlRuleCredentials2
     </a:Action>
     <a:MessageID>
       urn:uuid:066f23f7-4b75-4bb0-a919-f179a92c4c40
     </a:MessageID>
     <a:ReplyTo>
       <a:Address>
         http://www.w3.org/2005/08/addressing/anonymous
       </a:Address>
     </a:ReplyTo>
     <ServiceContext 
       xmlns="http://schemas.microsoft.com/sharepoint/servicecontext" 
       xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
       <correlationId>
         fc695260-ca6e-4ca0-84b5-ab527f250c38
       </correlationId>
       <language>en-US</language>
       <region>en-US</region>
       <siteSubscriptionId>
         00000000-0000-0000-0000-000000000000
       </siteSubscriptionId>
     </ServiceContext>
     <a:To s:mustUnderstand="1" u:Id="_1">
       https://example.com:32844/780a94234626422ab7bcef6ee5e184a9/SearchAdmin.svc
     </a:To>
   </s:Header>
   <s:Body>
     <SetCrawlRuleCredentials2 xmlns="http://tempuri.org/">
       <versionIn>12</versionIn>
       <currentUser>DOMAINNAME\username</currentUser>
       <path>http://example.com</path>
       <authType>1</authType>
       <authString1>NEW_DOMAINNAME\new_username</authString1>
       <authString2>password:)</authString2>
       <authString3></authString3>
       <authString4></authString4>
       <lastModified>2010-01-07T07:15:56.3176742Z</lastModified>
     </SetCrawlRuleCredentials2>
   </s:Body>
 </s:Envelope>

Response message:

 <s:Envelope
   xmlns:a="http://www.w3.org/2005/08/addressing"
   xmlns:s="http://www.w3.org/2003/05/soap-envelope">
   <s:Header>
     <a:Action s:mustUnderstand="1">
       http://tempuri.org/ISearchApplicationAdminWebService/SetCrawlRuleCredentials2Response
     </a:Action>
   </s:Header>
   <s:Body>
     <SetCrawlRuleCredentials2Response xmlns="http://tempuri.org/">
       <SetCrawlRuleCredentials2Result>13</SetCrawlRuleCredentials2Result>
     </SetCrawlRuleCredentials2Response>
   </s:Body>
 </s:Envelope>