4.2.4 SetCrawlRuleCredentials
Request message:
-
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <SetCrawlRuleCredentials xmlns="http://microsoft.com/webservices/OfficeServer/Search/SearchApplicationWebService"> <versionIn>175</versionIn> <path>http://www.microsoft.com/*</path> <authType>1</authType> <authString1>domainname\username</authString1> <authString2>password</authString2> </SetCrawlRuleCredentials> </soap:Body> </soap:Envelope>
Response message:
-
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <SetCrawlRuleCredentialsResponse xmlns="http://microsoft.com/webservices/OfficeServer/Search/SearchApplicationWebService"> <SetCrawlRuleCredentialsResult>176</SetCrawlRuleCredentialsResult> </SetCrawlRuleCredentialsResponse> </soap:Body> </soap:Envelope>