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. Download the Converter WSDL document.
Open the Converter Web service WSDL document in a web browser by entering the following address:
http://localhost:<port> /sapws/com.sap/ConverterEAR_ConverterEJB_EJB_ConverterBean/Converter_Service/ConverterBeanPort?wsdl&mode=ws_policy
You can construct <port> by the formula 5 + NN + 00, where NN is the number of the Java instance.
Save the WSDL document on your local machine.
Rename the ConverterBeanPort. xml to ConverterBeanPort.wsdl .
2. Import the WSDL document in the SAP NetWeaver Developer Studio.
In the Project Explorer , of the Java EE perspective, choose the converterwebclient project.
Right-click the project and choose
.The Import window opens.
In the list of wizards, choose Next .
, and then chooseMake sure that the Output folder field contains the /LocalDevelopment~LocalDevelopment~converterwebclient~com.sap.tutorial project.
Choose the Remote Location / File System option, and then choose Next .
Choose Browse , and then open the saved WSDL document.
Choose Finish .
The Web service WSDL document appears in the converterwebclient project.