Using Web Services › How to Call Web Services with a Java Client › How to Use a Java Program to Call a Web Service
How to Use a Java Program to Call a Web Service
You can use a Java program to call each CA Service Catalog web service. Use the example in this section as a model, as follows:
- Note that the Java code in this example shows a class named axisTester that retrieves a Java bean array containing the accounts in the business unit named Sales. The server name and port are prod123 and 8080.
- Review the following specifications, which are used in this example. The specifications that you use in your calls vary according to your needs and goals.
- Web Service: AccountService
- URN: urn:usmAccountService
- Method: getAccountsOfBusinessUnit
- Input Parameters: sessionID, businessunitid
- Output Parameters: Array of Account beans