Examining Web Services using the TCP Packet Monitor

You can use the TCP Packet Monitor to examine the network traffic of a stub connecting to a web service because it allows you to:

You can use the results to debug a locally or remotely deployed web service.

Note: In order to use the TCP Packet Monitor, you may need to amend JDeveloper's proxy settings. For more information, see Proxy Settings and JDeveloper.

To examine the packets sent and received by the stub to a web service:

  1. Create the web service by following the steps in Ways to Create Web Services.
  2. Either run the web service in the embedded OC4J server by right-clicking the web service container in the navigator and choose Run <web_service>.
    or
    Deploy and run the web service on the remote server following the steps in Deploying Web Services.
  3. Start the TCP Packet Monitor by selecting V iew | TCP Packet Monitor. It opens in its own window in JDeveloper.
  4. Run the TCP Packet Monitor by clicking the Start button (Start TCP Packet Monitor).
  5. Run the stub to the web service. The request/response packet pairs are listed in the TCP Packet Monitor.
  6. To examine the content of a request/response pair highlight it in the History tab and then click the Data tab.
  7. You can quickly move from one pair to the previous or the next by clicking the next button and the previous button .
  8. You can edit the information in the request packet and resend it by following the steps in Editing and Resending TCP Request Packets.

Using the TCP Packet Monitor

 

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