4.5.1 GetContentSources
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> <GetContentSources xmlns="http://microsoft.com/webservices/OfficeServer/Search/SearchApplicationWebService"> <versionIn>1</versionIn> <catalog>0</catalog> </GetContentSources> </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> <soap:Fault> <faultcode>soap:Server</faultcode> <faultstring>The search configuration has been updated since it was last retrieved.</faultstring> <faultactor>http://servername:56737/SharedServices1/Search/SearchAdmin.asmx</faultactor> <detail> <exception xmlns="http://microsoft.com/webservices/OfficeServer/Search/SearchWebService">
-
</exception> </detail> </soap:Fault> </soap:Body> </soap:Envelope>
The string value of the detail.exception element is the UTF-16 string representation of the following serialized exception:
-
<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <a1:UpdatedConcurrencyException id="ref-1" xmlns:a1="http://schemas.microsoft.com/clr/nsassem/Microsoft.Office.Server.Search.Administration/Microsoft.Office.Server.Search%2C%20Version%3D12.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3D71e9bce111e9429c"> <ClassName id="ref-3">Microsoft.Office.Server.Search.Administration.UpdatedConcurrencyException</ClassName> <Message id="ref-4">The search configuration has been updated since it was last retrieved.</Message> <Data xsi:null="1"/> <InnerException href="#ref-5"/> <HelpURL xsi:null="1"/> <StackTraceString id="ref-6"> at Microsoft.Office.Server.Search.Administration.SearchApi.RunOnServer[T](CodeToRun`1 remoteCode, CodeToRun`1 localCode, Boolean useCurrentSecurityContext, Int32 versionIn) at Microsoft.Office.Server.Search.Administration.SearchApi.GetContentSources(Int32 versionIn, Int32 catalog) at Microsoft.Office.Server.Search.Administration.SearchApplicationWebService.<>c__DisplayClassaf.<GetContentSources>b__ae() at Microsoft.Office.Server.Search.Administration.SearchWebService.RunWithSoapExceptionHandling[T](CodeRequiresSoapExceptionHandling`1 webMethodCode, Boolean impersonateLocalAdmin) </StackTraceString> <RemoteStackTraceString xsi:null="1"/> <RemoteStackIndex>0</RemoteStackIndex> <ExceptionMethod id="ref-7"> 8 RunOnServer Microsoft.Office.Server.Search, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c Microsoft.Office.Server.Search.Administration.SearchApi T RunOnServer[T](CodeToRun`1, CodeToRun`1, Boolean, Int32) </ExceptionMethod> <HResult>-2146233088</HResult> <Source id="ref-8">Microsoft.Office.Server.Search</Source> </a1:UpdatedConcurrencyException> <a3:COMException id="ref-5" xmlns:a3="http://schemas.microsoft.com/clr/ns/System.Runtime.InteropServices"> <ClassName id="ref-9">System.Runtime.InteropServices.COMException</ClassName> <Message id="ref-10">An attempt was made to update application level configuration with an obsolete view of the current state. Refresh your application-level objects and redo the update. </Message> <Data xsi:null="1"/> <InnerException xsi:null="1"/> <HelpURL xsi:null="1"/> <StackTraceString id="ref-11"> at Microsoft.Office.Server.Search.Administration.MSSITLB.IGatherApplication2.ValidateVersionForRead(Int32 lLastVersion) at Microsoft.Office.Server.Search.Administration.SearchApi.RunOnServer[T](CodeToRun`1 remoteCode, CodeToRun`1 localCode, Boolean useCurrentSecurityContext, Int32 versionIn) </StackTraceString> <RemoteStackTraceString xsi:null="1"/> <RemoteStackIndex>0</RemoteStackIndex> <ExceptionMethod id="ref-12"> 8 ValidateVersionForRead Microsoft.Office.Server.Search, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c Microsoft.Office.Server.Search.Administration.MSSITLB.IGatherApplication2 Void ValidateVersionForRead(Int32) </ExceptionMethod> <HResult>-2147217991</HResult> <Source id="ref-13"> </Source> </a3:COMException> </SOAP-ENV:Body> </SOAP-ENV:Envelope>