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:
-
observe the exact content of the request and response TCP packets of
your web service.
-
edit a request packet, resend the packet and see the contents of the
response packet.
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:
-
Create the web service by following the steps in
Ways to Create Web Services.
-
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.
-
Start the TCP Packet Monitor by selecting V
iew | TCP Packet Monitor. It
opens in its own window in JDeveloper.
-
Run the TCP Packet Monitor by clicking
(Start TCP Packet Monitor).
-
Run the stub to the web service. The request/response packet pairs are
listed in the TCP Packet Monitor.
-
To examine the content of a request/response pair highlight it in the
History tab and then click the Data tab.
-
You can quickly move from one pair to the previous or the next by
clicking
and
.
-
You can edit the information in the request packet and resend it by
following the steps in
Editing and Resending TCP Request Packets.
Related topics
Using the TCP
Packet Monitor
Copyright © 1997, 2004, Oracle.
All rights reserved.