You import the Web service WSDL document to create Web service proxy. You generate Web service proxy outside-in from the WSDL document.
The ConverterEAR project is started on the application server.
1. Open the Converter Web service WSDL document in a web browser, by entering the following address.
http://localhost:<Port_Number>/sapws/sap.com/ConverterEAR_ConverterEJB_EJB_ConverterBean/Converter_Service/ConverterBeanPort?wsdl
You can enter <Port_Number> constructed by the formula 5 + NN + 00, where NN is the number of the Java instance.
2. Save the WSDL document on your local machine.
3. Rename the ConverterBean.xml to ConverterBean.wsdl.
...
1. In the Project Explorer, choose the ConverterWEBClient project.
2. Right click the project and choose Import → Import.
The Import window opens.
3. In the list of wizards, choose Web services → Import WSDL, and then choose Next.
4. Make sure that the Output folder field contains the ConverterWEBClient project.
5. Choose the Remote Location / File System option, and then choose Next.
6. Choose Browse, and then open the saved WSDL document.
7. Choose Finish.
The Web service WSDL document appears in the ConverterWEBClient project.
Generating the Converter Web Service Proxy