You generate a Web service proxy to establish a connection between the Web service and the Web service client. The Web service proxy is an interface. The client application uses this interface to find and consume the Web service.
1. In the Project Explorer, expand the HelloWorldWEB project.
2. Right-click wsdlroot_HelloBean.wsdl document, and then choose Web Services → Generate Client.
The Web Service Clientwizard opens.
3. Move the slider to Develop client position, as shown in the figure below.
4. Choose Next.
The Client Generation Configuration screen opens.
5. Make sure the Output folder field contains the package source folder of the HelloWorldWEB project and the following options are set:
a. Select Customization Level
b. Use automatic collision resolution
6. Choose Finish.
The system generates the Web service proxy. The Web service proxy files appear in the Java package folder of the HelloWorldWEB project.
Creating the Web Service Client Application