Video Streaming Statistics Service Syntax
This section contains the following topics:
Video Streaming Statistics Informational URLs
This section provides informational URLs for the Video Streaming Statistics service.
-
Service URL: https:// <host/ip> :8443/ws/ VideoStats
-
WSDL URL: https:// <host/ip> :8443/ws/ VideoStats?wsdl
To obtain a description of all the operations and parameters for the VideoStats Web Service, submit a URL to the service with the suffix ?wsdl as follows:
https://<host/ip>:8443/ws/VideoStats?wsdl
To obtain management information using the Central Manager monitoring API, first call the service by using the service URL for this service as follows:
https://<host/ip>:8443/ws/VideoStats
Next, submit a SOAP request written in an XML format to retrieve the information.
Video Streaming Statistics Example Request
The following example shows an XML-formatted SOAP request to perform the retrieveHistoricalStats action. The request includes the input parameters for this particular action shown in bold. For more information, see #__.
<?xml version="1.0" encoding="utf-8" ?>
- <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
- <soapenv:Header>
- <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
- <wsse:UsernameToken>
<wsse:Username>admin</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">default</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
- <soapenv:Body>
- <ns1:retrieveHistoricalStats
xmlns:ns1="http://service.stats.ws.waas.cisco.com">
<ns1:name
>ce-119-40</ns1:name>
<ns1:objType
>wae</ns1:objType>
- <ns1:timeframe
>
<ns5:endTime
xmlns:ns5="http://util.ws.waas.cisco.com/xsd">2008-01-25T08:00:00.000Z</ns5:endTime>
<ns5:frequency
xmlns:ns5="http://util.ws.waas.cisco.com/xsd">lasthour</ns5:frequency>
<ns5:startTime
xmlns:ns5="http://util.ws.waas.cisco.com/xsd">2008-01-24T08:00:00.000Z</ns5:startTime>
<ns5:timezone xmlns:ns5="http://util.ws.waas.cisco.com/xsd">UTC</ns5:timezone>
</ns1:timeframe>
</ns1:retrieveHistoricalStats>
</soapenv:Body>
</soapenv:Envelope>
Video Streaming Statistics Example Response
The following example shows the XML response that contains the output values for the retrieveHistoricalStats action.
<?xml version="1.0" encoding="utf-8" ?>
- <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
- <soapenv:Body>
- <ns:retrieveHistoricalStatsResponse xmlns:ns="http://service.stats.ws.waas.cisco.com" xmlns:ax212="http://rmi.java/xsd" xmlns:ax213="http://io.java/xsd" xmlns:ax215="http://stats.ws.waas.cisco.com/xsd" xmlns:ax214="http://util.ws.waas.cisco.com/xsd">
- <ns:return type="com.cisco.waas.ws.stats.VideoStats">
<ax215:acceleratedconnections
>30</ax215:acceleratedconnections>
<ax215:errorconnections
>19</ax215:errorconnections>
<ax215:frequency
>min</ax215:frequency>
<ax215:incomingbytesttotal
>44</ax215:incomingbytesttotal>
<ax215:outgoingbytestotal
>29</ax215:outgoingbytestotal>
<ax215:receivedconnections
>84</ax215:receivedconnections>
<ax215:savedpercent
>51.0</ax215:savedpercent>
<ax215:timestamp
>2008-04-16T21:15:35.284Z</ax215:timestamp>
<ax215:unacceleratedconnections
>9</ax215:unacceleratedconnections>
</ns:return>
</ns:retrieveHistoricalStatsResponse>
</soapenv:Body>
</soapenv:Envelope>