4.3 GetLanguages

The following example demonstrates the protocol client requests and protocol server responses from the Administration Web Service Protocol to get information about languages used in the deployment of the protocol server.

The protocol client sends a GetLanguages request.

 <?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>
     <GetLanguages xmlns="http://schemas.microsoft.com/sharepoint/soap/" />
   </soap:Body>
 </soap:Envelope>

The protocol server responds as follows:

 <?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>
     <GetLanguagesResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/">
       <GetLanguagesResult>
         <Languages xmlns="http://schemas.microsoft.com/sharepoint/soap/">
           <LCID>1033</LCID>
         </Languages>
       </GetLanguagesResult>
     </GetLanguagesResponse>
   </soap:Body>
 </soap:Envelope>