cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Roberts <i.robe...@dcs.shef.ac.uk>
Subject Re: View SOAP Messages
Date Fri, 13 Jun 2008 09:15:35 GMT
Eoghan Glynn wrote:
> Another useful option for viewing SOAP messages on the wire is the Axis 
> tcpmon utility. Just fire up:
> 
>   java -cp axis.jar org.apache.axis.utils.tcpmon
> 
> Say your server is listening on port 9000 ... add a listener in tcpmon 
> with:
> - target port 9000
> - listen port 8999
> - under the "port 8999" tab click the XML format check box
> - reconfigure your client to invoke on port 8999

Alternatively, tcpmon can operate as an HTTP proxy.  Start up

   java -c axis.jar org.apache.axis.utils.tcpmon 8999

and then configure your client to talk through a proxy on port 8999 
(e.g. with system properties http.proxyHost=localhost and 
http.proxyPort=8999).  That way you don't have to chang the target URL 
that the client is calling.

Ian

-- 
Ian Roberts               | Department of Computer Science
i.roberts@dcs.shef.ac.uk  | University of Sheffield, UK

Mime
View raw message