Using Web Services › How to Call Web Services with a Java Client
How to Call Web Services with a Java Client
To call CA Service Catalog web services with a Java client, follow this process:
- Ensure that Java clients meet all applicable prerequisites, as explained in Prerequisites for Clients.
- Ensure that the web services that you want to use are deployed, as explained in How to Manage and Deploy Web Services.
- Generate the WSDL for each web service, as explained in How to Generate the WSDL for Each Web Service.
- Generate Java stubs into a package, as explained in How to Generate Java Stubs for Each Web Service.
- Use the stubs to make calls to the web services, as explained in How to Use Stubs to Call Each Web Service.
- Use the login and logout methods efficiently, as explained in How Clients Invoke Login and Logout Methods.
- Do one of the following:
- See the following web sites for additional documentation:
- If you are using Java programs, see the Axis and web service related-related sections of apache.org.
- If you are using JavaScript, see the web service-related portions of the MSDN workshop sections of microsoft.com.