Show TOC Start of Content Area

Procedure documentation Importing the WSDL Document  Locate the document in its SAP Library structure

Use

You download the WSDL document and import it in the SAP NetWeaver Developer Studio to generate a Web service proxy.

Prerequisites

The HelloWorldEAR project is on the application server.

Procedure

1. Download the HelloWorld WSDL document.

       1.      Open the HelloWorld WSDL document in a Web browser by entering the following address.

http://localhost:<Port_Number>/HelloService/HelloBean?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 HelloBean.xml to HelloBean.wsdl.

2. Import the WSDL document in the SAP NetWeaver Developer Studio.

...

       1.      In the Project Explorer, choose the HelloWorldWEB 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 HelloWorldWEB 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.

Result

The WSDL document appears in the HelloWorldWEB project.

Next Step

Generating the Web Service Proxy

 

 

 

End of Content Area