Web service message view tool: TCPMon

来源:互联网 发布:淘宝装修效果图 编辑:程序博客网 时间:2024/05/16 07:57

https://tcpmon.dev.java.net/

http://ws.apache.org/commons/tcpmon/tcpmontutorial.html

 

Deploy service

Deploy a server a local host, e.g,  http://127.0.0.1:8080/axis2/

 

Start TCPMON (As a Explicit Intermediate)

Local Port(Listen port):input any valid port number, e.g 8383

Target Port: the port you want to listening, e.g 8080 here

Send request to Listen port

 Now, instead of sending request to target port, send your request to listen port. So TCPMON will forward the request to target port,   and display the request/response in UI.

 E.g, http://127.0.0.1:8383/axis2/

Start as a Proxy

if work as a proxy. only need input listen port same with your target port, 8080 here

Deep into code: how to implment a proxy ?

 

原创粉丝点击