Cisco Cisco Workload Automation 6.3 Developer's Guide

Page of 190
11
Cisco Systems, Inc.
www.cisco.com
2
Using the CWA REST API
Overview
There are many ways to invoke the RESTful services available from Cisco Workload Automation.  You can browse the 
services available via a browser as described in:
You can use the Java client to call the services using the 
HttpURLConnection class as illustrated in:
You can also access and use the CWA REST API the WebService Adapter and the SOAP UI Tool as illustrated in these 
sections:
In addition, you can use a wide variety of third party frameworks such as the Spring Framework RestTemplate or the 
Apache CXF Framework. 
To find documentation for the API objects and methods, see:
REST API from a Browser
Before writing code to invoke the REST API, you can browse the services available via a browser. In a live Cisco Workload 
Automation environment, the URL where the API can be reached is as follows:
Figure 1
REST API browser view