Руководство Пользователя для Cisco Cisco Security Manager 4.11

Скачать
Страница из 301
 
 
 
  
 
Cisco Security Manager 4.11 API Specification (Version 2.3) 
 
Page  42
 
 
Figure 18: logout Response Example 
Table 16: logout Response Elements and Attributes Description 
XML Response 
Definition 
logoutResponse 
Returns the session information or failure 
 
 
Figure 19: LogoutResponse XML Schema   
2.2.4 Method: ping 
The ping method maintains an active authenticated session from timing out or being discarded by the server. The 
CSM client should call the ping method before every sessionTimeoutInMins to ensure the CSM server does not 
discard its authenticated session. Note: The authenticated session inactivity timeout is reset implicitly if an 
authentication session is used to make a call to the server.
 
2.2.4.1 Request 
An example of the ping request is shown in the figure below.  The fields in these messages are described in the table 
below. 
 
Figure 20: ping Request Example  
<?xml version=”1.0” encoding=”UTF-8”?> 
<logoutResponse> 
 
<protVersion>1.0</protVersion> 
 
<reqId>123</reqId> 
 
 
</logoutResponse> 
 
<xs:element
 name
="logoutResponse"
 type
="LogoutResponse"/> 
<xs:complexType
 name
="
logoutResponse
">
 
 
<xs:complexContent>
 
 
 
<xs:extension
 base
="
BaseReqResp
"/>
 
 
</xs:complexContent>
 
</xs:complexType>
 
 
URL: 
 
https://hostname/nbi/ping 
  
HTTP Header: 
 
Set-Cookie: asCookie=732423sdfs73242; expires=Fri, 31-Dec-2010 23:59:59 GMT; path=/; 
domain=.hostdomain.com  
 
XML Argument: 
 
<?xml version=”1.0” encoding=”UTF-8”?> 
 
<pingRequest> 
 
  <protVersion>1.0</protVersion> 
 
  <reqId>123</reqId> 
 
</pingRequest>