Show TOC Start of Content Area

Procedure documentation Testing the HelloWorld Web Service  Locate the document in its SAP Library structure

Use

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:

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

                            b.      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 Input Parameters step of the wizard, enter your name in the name field.

       5.      Choose Next to execute the test.

Result

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

Next Step

Creating the HelloWorld Web Service Client

 

 

End of Content Area