3.1.4.77 SaveWorkbookForEditing

This operation is used to save a workbook associated with an open view session, to the same location from which it was opened.

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

 <wsdl:operation name="SaveWorkbookForEditing" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
   <wsdl:input wsaw:Action="http://schemas.microsoft.com/office/Excel/Server/WebServices/ExcelServerInternalService/ExcelServiceSoap/SaveWorkbookForEditing" message="tns:ExcelServiceSoap_SaveWorkbookForEditing_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/SaveWorkbookForEditingResponse" message="tns:ExcelServiceSoap_SaveWorkbookForEditing_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/SaveWorkbookForEditingExcelServerMessageFault" name="ExcelServerMessageFault" message="tns:ExcelServiceSoap_SaveWorkbookForEditing_ExcelServerMessageFault_FaultMessage" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/>
 </wsdl:operation>

The protocol client sends an ExcelServiceSoap_SaveWorkbookForEditing_InputMessage request message, and the protocol server responds with a ExcelServiceSoap_SaveWorkbookForEditing_OutputMessage response message.

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<92> be one of the values specified in section 2.2.2.1 or any of the following values:

  • EditModeWorkbookCheckedOutRequired

  • EditModeWorkbookCheckedOutToLocalDrafts

  • EditModeCannotAcquireLockUnknownUser

  • EditModeCannotEditNonSharePointWorkbook

  • EditModeSessionExists

  • ScratchPadChangesLost

  • EditModeCannotAcquireLock

  • NewerWorkbookExists

  • FileOpenNotFound

  • UnsupportedFeatureEditWarning

  • UnsupportedFeaturesSaveCopy