Show TOC

Importing the Converter WSDL DocumentLocate this document in the navigation structure

Use

You import the Web service WSDL document to create Web service proxy. You generate Web service proxy outside-in from the WSDL document.

Prerequisites

The ConverterEAR project is started on the application server.

Procedure

1. Download the Converter WSDL document.

  1. 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.

  2. Save the WSDL document on your local machine.

  3. Rename the ConverterBeanPort. xml to ConverterBeanPort.wsdl .

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

  1. In the Project Explorer , of the Java EE perspective, choose the converterwebclient project.

  2. Right-click the project and choose Start of the navigation path Import Next navigation step Import End of the navigation path.

    The Import window opens.

  3. In the list of wizards, choose Start of the navigation path Web services Next navigation step WSDL End of the navigation path, and then choose Next .

  4. Make sure that the Output folder field contains the /LocalDevelopment~LocalDevelopment~converterwebclient~com.sap.tutorial 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 Web service WSDL document appears in the converterwebclient project.