3.1.4.25 GetSessionInformation

This operation is used to retrieve information about a session (2).

The following is the WSDL port type specification of the GetSessionInformation WSDL operation.

 <wsdl:operation name="GetSessionInformation" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
   <wsdl:input wsaw:Action="http://schemas.microsoft.com/office/Excel/Server/WebServices/ExcelServerInternalService/ExcelServiceSoap/GetSessionInformation" message="tns:ExcelServiceSoap_GetSessionInformation_InputMessage" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/>
   <wsdl:output wsaw:Action="http://schemas.microsoft.com/office/Excel/Server/WebServices/ExcelServerInternalService/ExcelServiceSoap/GetSessionInformationResponse" message="tns:ExcelServiceSoap_GetSessionInformation_OutputMessage" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/>
   <wsdl:fault wsaw:Action="http://schemas.microsoft.com/office/Excel/Server/WebServices/ExcelServerInternalService/ExcelServiceSoap/GetSessionInformationExcelServerMessageFault" name="ExcelServerMessageFault" message="tns:ExcelServiceSoap_GetSessionInformation_ExcelServerMessageFault_FaultMessage" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/>
 </wsdl:operation>

The protocol client sends an ExcelServiceSoap_GetSessionInformation_InputMessage request message, and the protocol server responds with an ExcelServiceSoap_GetSessionInformation_OutputMessage, as follows:

  • The protocol server MUST return the UI culture and the data culture for the specified session. These are the languages specified in the OpenWorkbook operation (section 3.1.4.30) or the languages that the protocol server falls back to as specified in OpenWorkbook.

In the event of an application error on the protocol server during this operation, a SOAP fault is returned, as specified in section 2.2.2. The Id element of the ExcelServerMessage SHOULD<37> be one of the values specified in section 2.2.2.1.