监听调试web service的好工具TCPMon
http://ws.apache.org/commons/tcpmon/download.cgi

TCPMon Tutorial

Content

Introduction

TCPMon is a utility that allows the user to monitor the messages
passed along in TCP based conversation. It is based on a swing UI and
works on almost all platforms that Java supports. The aim of this simple
tutorial is to explain how TCPMon works and also to explain some of its
features.

Structure and Dependencies

TCPMon has absolutely no dependencies on third party libraries. But
some of the UI features rely on JDK 1.4 so TCPMon needs a JRE that is
1.4 or higher.

Usage Patterns

As an Explicit Intermediate

The most common usage pattern for the TCPMon is as an intermediary. It is called explicit
since the client has to point to the intermediary rather than the
original endpoint in order to monitor the messages. The following figure
explains this concept.

In order to start the TCPMon in this configuration one has to provide
the host name and the port for the listener in the admin screen. See
image below.

Pressing the 'add' button opens up a new tab that allows the messages to be seen as in the following screen

At this point the requester should point to the listener port of the
TCPMon instead of the original endpoint. Let us understand this with an
example:

Say all messages passed between www.apache.org needs to be monitored.

Step 1 - Add a listener with host as www.apache.org
and port as 80. Set the listener to port 8080 which may be any unused
port in the local machine

Step 2 - Point the browser to localhost:8080 instead of www.apache.org.

Once the messages start flowing they can be seen in the relevant tab as seen below.

The bottom controls allow the messages to be XML formatted (useful in
debugging Web services), save and resend the messages, and also to
switch the layout of the message windows.

As a Request Sender for Web Services

TCPMon can also be used as a request sender for Web services. The
request SOAP message can be pasted on the send screen and then sent
directly to the server.

As a Proxy

TCPMon can act as a proxy. To start the TCPMon at proxy mode, just
select the proxy option from the radio buttons. When acting as a proxy,
TCPMon only needs the listener port to be configured.

Advanced Settings

Slow Connection Simulation

TCPMon can simulate a slow connection, in which case the delay and
the bytes to be dropped can be configured. This is specially useful in
testing Web services.

HTTP Proxy support

If HTTP proxy support is required then that can also be set on the admin screen.

Conclusion

TCPMon is a simple and easy to use tool that has many benefits when
developing message driven applications. It is particularly useful in
developing Web services

监听调试web service的好工具TCPMon的更多相关文章

  1. 通过FileWatcher,监听通过web上传的图片,并进行压缩

    需求是这样的,通过web传输过来的图片,无论是JS上传,还是其他的上传方式,都需要生成2张缩略图,分别是用于商品列表的小图small,和用于分享的小图share.基于不同上传方式的不同需求,使用exe ...

  2. 用.NET WebService Studio调试Web Service解决SOAPAction的问题

    话说是这样的,这两天开发一个短信发送功能,客户给了一个 Web Service 地址(没有文档),让我调用就可以发送了, 我在VS 2013添加了服务引用,一切正常,可是执行代理方法时,怎么都报错 R ...

  3. [转]通过Net Manager 配置Oracle 11g本地监听服务(listener service)

    本文转自:http://blog.csdn.net/mozart_cai/article/details/8596504 [Target] 通过ip address 监听orcl服务,而不是通过loc ...

  4. 问题:webservice浏览后 无法输入参数;结果:调试Web Service时不能输入参数的解决办法

    使用.NET 开发Web Service,有一个很方便的功能就是可以通过IE直接测试Web Service.当你的Web Service的参数都是元数据类型,那么只要你使用IE浏览Web Servic ...

  5. 【Xamarin挖墙脚系列:对设备/模拟器的查看调试监听】

    原文:[Xamarin挖墙脚系列:对设备/模拟器的查看调试监听] 有时候我们需要查看模拟器中的文件,比如进行了文件IO操作,sqlite数据库的操作等.我们想查看内容,这时候,如何将内容导出来?由于A ...

  6. 雷火神山直播超两亿,Web播放器事件监听是怎么实现的?

    Web播放器解决了在手机浏览器和PC浏览器上播放音视频数据的问题,让视音频内容可以不依赖用户安装App,就能进行播放以及在社交平台进行传播.在视频业务大数据平台中,播放数据的统计分析非常重要,所以We ...

  7. 会员卡管理系统技术解析(十八)Timer定时监听

    会员卡管理系统技术解析(十八)Timer定时监听 在web应用中,有时候客户须要一些定时程序.不须要客户自己去操作.而是由应用程序自行触发(代理)运行某些操作. 这个时候监听与定时器的配合使用就基本能 ...

  8. 网络监听HTTP协议信息实验

    一.开启环境 登录web服务器,在服务器中开启phpstudy服务器环境. 在操作机中打开目标站[Web服务器IP地址]地址.安装wordpress,数据库名:wordpress,用户名root 密码 ...

  9. Android监听系统短信数据库变化-提取短信内容

    由于监听系统短信广播受到权限的限制,所以很多手机可能使用这种方式没法监听广播,从而没办法获取到系统短信,所以又重新开辟一条路. Android监听系统短信数据库内容变化使用场景: 1.监听短信数据库的 ...

随机推荐

  1. ggplot2.multiplot:将多个图形使用GGPLOT2在同一页上

    一页多图 介绍 ggplot2.multiplot是一个易于使用的功能,将多个图形在同一页面上使用R统计软件和GGPLOT2绘图方法.这个功能是从easyGgplot2包. 安装并加载easyGgpl ...

  2. Duilib 实现窗口点击关闭确认退出提示

    此功能是记住用户的操作,在用户点击关闭时是真退出程序还是最小化到托盘,我们常见的PC客户端都有此功能,例如:IMO客户端.网易云音乐 我自己的项目中也要实现此功能,在此总结一下,最终效果: .h文件 ...

  3. Windows Server 2008服务器配置FTP站点的方法教程

    1.首先,安装FTP服务   打开服务器管理器,点击角色,添加角色,如果安装过iis,角色摘要里面会有个Web服务器(IIS),点击后面的添加角色,滚动条拉到最后勾选FTP服务器,根据步骤安装. ww ...

  4. Java-简陋的图书管理

    本文代码为原创一个简陋的管理系统,只做功能的测试.并没有去完善所有应有的功能,只做了输入输出查找.仅供参考! 菜单部分: import java.util.Scanner; public class ...

  5. php多维数组去除空元素

    在php中去除数组中的空值可以使用array_filter() 这个函数 但是这个函数只能对一维数组起作用,一旦需要对多维数组去空就不行了,而且去除的空也包括(int)0,(string)0,使用起来 ...

  6. Mac下用g++编译opencv程序报错

    问题描述: 在Mac下安装好opencv, 安装:    bash  brew install opencv      写了一个opencv程序:    ``` C++ //作用就是:取视频的每一帧, ...

  7. 【CSU1812】三角形和矩形 【半平面交】

    检验半平面交的板子. #include <stdio.h> #include <bits/stdc++.h> using namespace std; #define gg p ...

  8. html,css,js加载顺序

    1.js放在head中会立即执行,阻塞后续的资源下载与执行.因为js有可能会修改dom,如果不阻塞后续的资源下载,dom的操作顺序不可控. 正常的网页加载流程是这样的. 浏览器一边下载HTML网页,一 ...

  9. bzoj题解汇总(1052~1061)

    bzoj1052: 贪心 bzoj1053: DFS bzoj1054: 加深迭代搜索 bzoj1055:区间判定性dp bzoj1056: Treap bzoj1057: 二分,单调队列 / ST表 ...

  10. python 安装模块步骤

    1.下载 pyocr-0.4.1.tar.gz   tar.gz文件  解压  放到 c:/python27 文件夹下面 C:\Python27\pyocr-0.4.1  直接 cmd 命令 进入   ...