Cisco Cisco Prime Network Services Controller 3.0 Guide Du Développeur

Page de 103
Page 18 
OL-28369-01 
In UML diagrams, aggregations are 
represented by a solid line with an empty 
diamond at the parent end: 
 
In UML diagrams, compositions are represented by a solid 
line with a filled diamond at the parent end: 
 
 
Capturing XML Interchange Between the Prime Network Services 
Controller GUI and Server  
The Prime Network Services Controller GUI is a web-based application that is developed using an Adobe Flex GUI 
framework. As a result, you can capture the XML interchange between the GUI and the Prime Network Services 
Controller server by installing a debug version of Adobe Flash Player. After you install the debug version of Adobe 
Flash Player, the log output is stored in a log file under your home directory. (In Windows 7, the log file can be 
found under C:\Users\username\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt.) 
Most of the sample request and response content included in the Example sections in 
 is captured in this manner. 
Success or Failure Responses  
Prime Network Services Controller responds almost immediately to any API request. If the request cannot be 
completed, a failure is returned. For a query or login method, the actual results are returned. For configuration 
methods, a successful response indicates that the request is valid, but does not indicate that the operation was 
completed. For example, after a database backup request is accepted with a successful response from Prime 
Network Services Controller, the Prime Network Services Controller server might take a longer time to finish the 
actual backup. 
The following sections describe response types in more detail:  
● 
● 
  
● 
Successful Responses  
Upon a successful response, an XML document is returned with the requested information or a confirmation that 
changes were made.  
The following example shows a configResolveDn request on a policy with the DN org-root/org-tenant d3337/pol-pl:  
<configResolveDn cookie="<real_cookie>" 
 dn="org-root/org-tenant_d3337/pol-p1" 
 inHierarchical="false"/>