Show TOC

Testing the HelloWorld Web ServiceLocate this document in the navigation structure

Context

You can test the Web service using the SAP NetWeaver Web Services Navigator . The Web Services Navigator allows you to test your Web service without having a Web service client for it. More information: Testing Web Services in the Web Services Navigator .

Procedure


  1. Open the SAP NetWeaver Web Services Navigator in a Web browser by entering the following address:

    http://[host]:[port]/wsnavigator

    For example, if you are logged on to the system where Web Services Navigator runs, you can enter: http://localhost:50000/wsnavigator

    Then enter your user name and password if required.

  2. On the Service step of the wizard:

    1. In the Search Service Interfaces screen area, select WSDL.

    2. Enter the URL of the WSDL document for the Web service you created.

      For example, you can enter: http://localhost:<Port_Number>/HelloService/HelloBean?wsdl

      Note

      If the tested service is deployed on one system and you run Web Services Navigator on another system, you should first allow the Web Services Navigator to access the system on which the tested service runs. More information: Configuring Web Services Navigator White List

  3. In the Operation step of the wizard, choose the sayHello operation.

  4. In the InputParameters step of the wizard, enter your name in the name field.

  5. Choose Next to execute the test.

Results

In the Result step of the wizard, you can review the result of the execution of the Web service test.