Web Service --> Testing

Tasks     Related Topics

 

Overview

Use the Web Service > Testing tab to test your Web Service.

Click on Launch Test Page link to go to the Web Service's Home Page, from which you can:

  • View the WSDL that describes the service.
  • Test each operation to ensure that it is working correctly.

    As part of testing a Web service, you can edit the XML in the SOAP request that describes non-built-in data types to debug interoperability conflicts.

  • View the SOAP request and response messages from a successful execution of an operation
  • Possibly download the Web service-specific client JAR file that contains the interfaces, classes, and stubs needed to invoke the Web service from a client application.

Click the View This Service's Formal Definition to view the WSDL that describes the service.

 

Invoking a Secure WebLogic Web Service From Its Home Page

To invoke a secure WebLogic Web Service from its Home Page, first follow these steps:

  1. Configure SSL for WebLogic Server.

    For more information, see Configuring the SSL Protocol.

  2. Add the following flags to the script that starts up this instance of WebLogic Server:
-Dweblogic.webservice.client.BaseWLSSLAdapter.strictCertChecking=false



-Dweblogic.security.SSL.ignoreHostnameVerification=true
  1. Create a certificate, key, and trusted CA and configure WebLogic Server to use them.

    For more information, see Configuring the SSL Protocol.

  2. Restart WebLogic Server for the startup flags to take effect.
  3. Invoke the secure WebLogic Web service's Home Page in your browser. The browser will return a message saying the certificate is not trusted.
  4. Load the trusted certificate in your browser. You may need to restart your browser for it to take effect.
  5. Invoke the secure WebLogic Web Service's Home Page again in your browser. You should now be able to test your secure Web Service.

 

Tasks

Configuring and Deploying a New Web Service

Viewing Deployed Web Services

Undeploying Deployed Web Services

Deleting a Web Service

Viewing Web Service Deployment Descriptors

Configuring Web Service Reliable SOAP Messaging

 

Related Topics

The WebLogic Web Services Home Page and WSDL URLs

Skip navigation bar  Back to Top Previous Next