Testing web services with the Universal Test Client

After you have created a web service you can run the service in the Universal Test Client to test the web service.

Before you begin

Note that if you are routing web service traffic through the TCP/IP monitor that you cannot test the web service using the Universal Test Client.

About this task

To test a web service using the Universal Test Client:

Procedure

  1. Launch the Universal Test Client in one of the following ways:
    • Right-click your service proxy and select Launch Universal Test Client.
    • Launch the workspace's Web browser by clicking the Web browser icon:Web Browser icon. Enter a URL similar to the following: http://localhost:port/UTC/preload?object=BeanPackage.BeanServiceProxy
  2. Under Objects, expand the proxy stub to display the methods of the web service. Click the method you want to test, enter a value in the Parameters pane, and click Invoke. The result will be generated below.

Feedback