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://localhost:<Port_Number>/wsnavigator

You can enter <Port_Number> constructed by the formula 5 + NN + 00, where NN is the number of the Java instance.

If the system prompts you, enter your user name and password.

       2.      On the Select WSDL step of the wizard, in the WSDL URL field, enter http://localhost:<Port_Number>/HelloService/HelloBean?wsdl, and then choose Go.

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

       4.      In the Enter Input Parameters step of the wizard, in the name field, enter your name and then choose Execute.

       5.      In the Result step of the wizard, you can preview your input parameters and the executed result.

Result

The result of the Web service test is displayed in the result step of the Web Services Navigator.

Next Step

Creating the HelloWorld Web Service Client

 

 

End of Content Area