3.1.4.36 RefreshAll

This operation is used to refresh all connected data on a workbook.

 <wsdl:operation name="RefreshAll">
   <wsdl:input wsam:Action="http://schemas.microsoft.com/office/Excel/Server/WebServices/ExcelServerInternalService/ExcelServiceSoap/RefreshAll" message="tns:ExcelServiceSoap_RefreshAll_InputMessage"/>
   <wsdl:output wsam:Action="http://schemas.microsoft.com/office/Excel/Server/WebServices/ExcelServerInternalService/ExcelServiceSoap/RefreshAllResponse" message="tns:ExcelServiceSoap_RefreshAll_OutputMessage"/>
   <wsdl:fault wsam:Action="http://schemas.microsoft.com/office/Excel/Server/WebServices/ExcelServerInternalService/ExcelServiceSoap/RefreshAllExcelServerMessageFault" name="ExcelServerMessageFault" message="tns:ExcelServiceSoap_RefreshAll_ExcelServerMessageFault_FaultMessage"/>
 </wsdl:operation>

The protocol client sends an ExcelServiceSoap_RefreshAll_InputMessage request message, and the protocol server responds with an ExcelServiceSoap_RefreshAll_OutputMessage response message, as follows:

§ For the lifetime of the session (2) the protocol server allows external data refresh.

This operation is a state changing operation on the protocol server.

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

  • "DclNotTrusted"

  • "ErrorAccessingSsoFromEcs"

  • "ErrorAccessingSsofromWfe"

  • "ErrorConnectingToDataSource"

  • "ErrorConnectingToDataSourceReadOrViewOnly"

  • "ExternalDataNotAllowedOnTL"

  • "ExternalDataRefreshFailed"

  • "ExternalDataRefreshFailed_Details"

  • "ExternalDataRefreshFailedReadOrViewOnly"

  • "ExternalDataRefreshFailedReal"

  • "IncorrectAuthUsed"

  • "InvalidUriorLocalConnectionPath"

  • "InvalidUserNameOrPassword"

  • "InvalidUserNameOrPasswordReadOrViewOnly"

  • "NoAccessToOdcReadOrViewOnly"

  • "OdcFileDoesNotExist"

  • "UnattendedAccountNotConfigured"