
You download the WSDL document and import it in the SAP NetWeaver Developer Studio to generate a Web service proxy.
The HelloWorldEAR project is on the application server.
1. Download the HelloWorld WSDL document.
Open the HelloWorld WSDL document in a Web browser by entering the following address:
http://localhost:<p ort>/HelloService/HelloBean?wsdl
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 HelloBean. xml to HelloBean. wsdl .
2. Import the WSDL document in the SAP NetWeaver Developer Studio.
In the Project Explorer , choose the HelloWorldWEB project.
Right click the project and choose .The Import window opens.
In the list of wizards, choose , and then choose Next .
Make sure that the Outputfolder field contains the HelloWorldWEB project.
Choose the Remote Location / FileSystem option, and then choose Next .
Choose Browse , and then open the saved WSDL document.
Choose Finish .
The WSDL document appears in the HelloWorldWEB project.
Next Step