3.1.4.28 GetSparklines

This operation is used to return an image containing sparklines.

 <wsdl:operation name="GetSparklines">
   <wsdl:input wsam:Action="http://schemas.microsoft.com/office/Excel/Server/WebServices/ExcelServerInternalService/ExcelServiceSoap/GetSparklines" message="tns:ExcelServiceSoap_GetSparklines_InputMessage"/>
   <wsdl:output wsam:Action="http://schemas.microsoft.com/office/Excel/Server/WebServices/ExcelServerInternalService/ExcelServiceSoap/GetSparklinesResponse" message="tns:ExcelServiceSoap_GetSparklines_OutputMessage"/>
   <wsdl:fault wsam:Action="http://schemas.microsoft.com/office/Excel/Server/WebServices/ExcelServerInternalService/ExcelServiceSoap/GetSparklinesExcelServerMessageFault" name="ExcelServerMessageFault" message="tns:ExcelServiceSoap_GetSparklines_ExcelServerMessageFault_FaultMessage"/>
 </wsdl:operation>

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

§ The protocol server MUST return an image containing all sparklines residing in the range specified in the VisibleSheetRangeRequest of the parameter element.

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.