4.1.4 AddContentSource
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> <AddContentSource xmlns="http://microsoft.com/webservices/OfficeServer/Search/SearchApplicationWebService"> <versionIn>170</versionIn> <catalog>0</catalog> <type>3</type> <name>Documents</name> </AddContentSource> </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> <AddContentSourceResponse xmlns="http://microsoft.com/webservices/OfficeServer/Search/SearchApplicationWebService"> <AddContentSourceResult>12</AddContentSourceResult> </AddContentSourceResponse> </soap:Body> </soap:Envelope>