3.1.4.7 CloseWorkbook

This operation is used to close a session (2) on the protocol server.

 <wsdl:operation name="CloseWorkbook">
     <wsdl:input message="CloseWorkbookSoapIn" />
     <wsdl:output message="CloseWorkbookSoapOut" />
 </wsdl:operation>

The protocol client sends a CloseWorkbookSoapIn request message, and the protocol server responds with a CloseWorkbookSoapOut response message, as follows:

  • The protocol server MUST close the session (2) specified in the parameter element as specified in CloseWorkbookSoapIn (section 3.1.4.7.1.1).

In the event of an application error on the protocol server during this operation, the protocol server MUST return an ExcelServerMessage as specified in section 2.2.9.2. The id element of the ExcelServerMessage MUST be one of the values specified in section 2.2.9.4, and SHOULD<15> be one of the values described in the following table.

Id

Description

InvalidOrTimedOutSession

See section 2.2.9.5.

RetryError

See section 2.2.9.5.

InternalError

See section 2.2.9.5.