Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

Test a Web service


After you have installed and started a Web service, you can test that it has deployed correctly, that its dynamic WSDL file is accessible, and that all operations work as you expect.

  1. Enable automatic deployment of the Web service test page:
    1. In the left pane of the Administration Console, under Domain Structure, select the domain name.
    2. Select Configuration > General.
    3. Expand the Advanced section of the page and select Enable Web Service Test Page.
    4. Click Save.
  2. In the left pane of the Administration Console, select Deployments.
  3. In the right pane, navigate within the Deployments table until you find the Web service you want to test.

    Note: Web services are deployed as part of an Enterprise application, Web application, or EJB. To understand how Web services are displayed in the Administration Console, see View installed Web services.

  4. In the Deployments table, click the name of the Web service.
  5. Select the Testing tab to display a table that lists the Web service.
  6. In the Name column, expand the name of the Web service to see a list of its test points.
  7. Click the ?WSDL test point to ensure that the Web service WSDL is accessible. The WSDL appears in a new browser window.
  8. Click the Test client test point to test the operations of the Web service. The test client appears in a new browser window. To test the operations:
    1. Click Show Operations in the top left corner of the test client. The Operations pane displays all the operations of the Web service. If the data type of a parameter is complex, then an example of how to enter the complex data type is also shown.
    2. Enter a value, of the correct data type, in the text box for the operation you want to test.
    3. Click the button whose label name is that of the operation you want to test.
    4. The result of the operation is displayed, as well as sample SOAP request and response messages.

    The Message Log contains a list of the operations you have already tested; click on an operation name to see the result. Click Clear Log to remove the list of previously executed operations. Click Re-Invoke to test the operation again. To test another Web service, click Choose Another WSDL and enter the WSDL in the text box.


Back to Top