Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Viewing HTTP / XML traffic on you Mac with TCPMonitor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Viewing HTTP / XML traffic on you Mac with TCPMonitor



Being no SOAP programmer I had no clue there's this really cool HTTP / XML traffic watcher out there as part of the Axis Apache SOAP library.

http://cvs.apache.org/viewcvs.cgi/~checkout~/xml-axis/java/docs/user- guide.html#tcpmon

- get a copy of the release from http://ws.apache.org/axis/releases.html
- unpack
- set Java CLASSPATH to <unpackdir>/lib/axis.jar
  % setenv CLASSPATH /Users/jpm/src/axis-1_1beta/lib/axis.jar
- launch the monitor
  % java org.apache.axis.utils.tcpmon

Voila, you have now launched TCPMonitor on Mac OS X.

Configure the applet:

- set "Listen Port #" to 8080
- set "Act as a..." to Proxy
- click on "Add"

You should now see a "Port 8080" tab.

Next, bring up the "Network" pane in "System Preferences". In the "Proxies" tab, set Web Proxy to 127.0.0.1, Port 8080, enable the setting and apply the changes.

To see any traffic in the monitor launch any app that uses the Network proxy settings and view some pages / execute some REST, SOAP or XML-RPC calls.

Almost too good to be true, especially for viewing XML.

If you have WebObjects installed you should have TCPMonitor available as part of the install as well.

http://developer.apple.com/techpubs/webobjects/Web_Services/DtoWS/ Observing_S__TCPMonitor.html

Cheers,

Jussi-Pekka
_______________________________________________
sherlock-channel-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/sherlock-channel-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.