Generating Java stubs for each web service is required when you call web services with a Java client.
To generate Java stubs for a web service
Doing so enables you to invoke the web service methods from your Java program.
Note: You can obtain the Axis tools from the Apache Axis website (apache.org).
java org.apache.axis.wsdl.WSDL2Java -o . -ptesting.soap AccountService.wsdl
This action generates the following files in the package named testing\soap.
This new interface file contains the appropriate java.rmi.Remote usages.
This file is the Service Interface of the web service. The Service Locator implements this interface.
This file is the Helper factory to retrieve a handle to the service.
This file is the client side stub code that encapsulates the client access.
These beans function as input and return types. They also catch exceptions.
You have generated Java stubs.
Copyright © 2013 CA.
All rights reserved.
|
|