Web Service --> Testing
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:
- Configure SSL for WebLogic Server.
For more information, see Configuring the SSL Protocol.
- 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
- Create a certificate, key, and trusted CA and configure WebLogic Server to use them.
For more information, see Configuring the SSL Protocol.
- Restart WebLogic Server for the startup flags to take effect.
- Invoke the secure WebLogic Web service's Home Page in your browser. The browser will return a message saying the certificate is not trusted.
- Load the trusted certificate in your browser. You may need to restart your browser for it to take effect.
- 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
Undeploying Deployed Web Services
Viewing Web Service Deployment Descriptors
Configuring Web Service Reliable SOAP Messaging
Related Topics
The WebLogic Web Services Home Page and WSDL URLs