tell me more icon Testing the Web Service Using the HTTP Analyzer

After you create a web service, you will usually test it to ensure that you get the results you expect. JDeveloper's IDE allows you to deploy the web service to an integrated server for testing.

Test Web Service context menu option

By default, JDeveloper automatically configures an integrated server named Integrated WebLogic Server that references a user-specific instance of Oracle WebLogic Server bundled with the IDE. Integrated WebLogic Server is a Java EE runtime service for packaged archive deployment. Based on zero-copy deployment, Integrated WebLogic Server lets you run and test an application and its projects as a Java EE application in a Java EE container. No special connection setup is required to use Integrated WebLogic Server.

When you select Test Web Service , JDeveloper deploys the service to Integrated WebLogic Server and displays the HTTP Analyzer test window with the Request and Response panes placed side by side.

HTTP Analyzer before sending message

To test the web service, you will enter parameter values in the Request pane of the HTTP Analyzer test window, then click the send request icon Send Request. The processed value will be returned in the Response pane.

In the HTTP Analyzer test window, click the switch layout icon Switch Layout to arrange the Request and Response panes one on top of the other, instead of side by side. You can also undock and dock each tab or window.

Below the HTTP Analyzer test window are the HTTP Analyzer log window and HTTP Analyzer Instances window. The HTTP Analyzer log window tab allows you to:

  • Examine the content of HTTP request/response package pairs.
  • Edit the content of a request package, resend it and observe the response packet returned.
  • Monitor and subsequently analyze a web service for conformity to WS-I standards.

The HTTP Analyzer Instances window provides information about the instances of the HTTP Analyzer that are currently running. By default, the HTTP Analyzer uses a single proxy on an analyzer instance (default is localhost), but you can add additional proxies of your own if you need to.

To stop the HTTP Analyzer, click terminate icon Terminate on the toolbar.

For more information about the buttons on each window, press F1 to see the help for that window.

Copyright © 1997, 2009, Oracle. All rights reserved.

false ,,,,,,,,,,,,,,,