Light  Rain serena

«August 2025»
12
3456789
10111213141516
17181920212223
24252627282930
31


公告

期待

超级好友 Rachel


我的分类(专题)

首页(262)
知识积累(40)
乐瑟温柔(108)
经验杂谈(20)
良辰吉日(2)
杂七杂八(57)
天景共赏(10)
感触文字(23)


最新日志
sunshine girl
过云雨
summer whisper
边走边唱
岛歌
不必在乎我是谁
如果有来生
Fing Fing 下
大明宫
我没有魅力

最新回复
回复:边界类、控制类、实体类
回复:边界类、控制类、实体类
回复:边界类、控制类、实体类
回复:《极地特快》插曲《When Chr
回复:边界类、控制类、实体类
回复:不必在乎我是谁
回复:边界类、控制类、实体类
回复:如果有来生
回复:Fing Fing 下
回复:我没有魅力

留言板
签写新留言

老大&老师,我想你.....
好文好多阿
886电台 好听
cai
您的子域名已开通
hi
祝福
祝福

你好

统计
blog名称:小雨
日志总数:262
评论数量:1273
留言数量:15
访问次数:4669652
建立时间:2005年1月8日

链接

有事?
音乐,永不厌倦
宁静的心情驿站
我的声音
TIPOblog
tipo bbs
appleVB
网页设计
英语学习2
英语学习3
FLASH
网络书籍
网络电台



我的博客朋友
最有技术的blog
xenium
花差花差
瓜少
span
a lai
琦少
陈少
v
阿当
http://www.ypb.cc/
痞子若鱼
另一个同行
年轻人bcims

 




W3CHINA Blog首页    管理页面    写新日志    退出

[知识积累]soap 截取工具
小雨 发表于 2005/3/4 10:00:15

http://www.microsoft.com/downloads/thankyou.aspx?FamilyID=c943c0dd-ceec-4088-9753-86f052ec8450&displaylang=en http://www.pocketsoap.com/tcptrace/ 可以使用Axies开发包中的soapMonitor工具来查看发送的soap消息。 使用Axis包:java org.apache.axis.utils.tcpmon [listenPort targetHost targetPort]还可以不输入参数进图形界面配置:java org.apache.axis.utils.tcpmon

阅读全文(11222) | 回复(1) | 编辑 | 精华

回复:soap 截取工具
visualme(游客)发表评论于2005/3/9 23:13:04

那我宁愿是个笨人

个人主页 | 引用回复 | 主人回复 | 返回 | 编辑 | 删除

回复:soap 截取工具
小雨发表评论于2005/3/9 21:51:11

以下引用visualme(游客)在2005-3-9 18:12:23的评论:我好像总是有空闲时间想不该想的事   我好像总没有时间想必须想的事情,也许这就是笨人和聪明人的区别吧
个人主页 | 引用回复 | 主人回复 | 返回 | 编辑 | 删除

回复:soap 截取工具
visualme(游客)发表评论于2005/3/9 18:12:23

我好像总是有空闲时间想不该想的事
个人主页 | 引用回复 | 主人回复 | 返回 | 编辑 | 删除

回复:soap 截取工具
小雨发表评论于2005/3/8 21:40:12

All the code for this is present in the release, but the applet itself was not compiled and the service is not enabled in the distribution. Here are the steps to enable the SOAPMonitor service for Axis running under Tomcat: Go to the Tomcat webapps/axis directory, and compile the applet with:javac -classpath WEB-INF/lib/axis.jar SOAPMonitorApplet.java Now deploy the service by running the admin client with deploy-monitor.wsdd (shown below). Point a browser at http://localhost:8080/axis/SOAPMonitor to bring up the viewer applet. SOAPMonitorService Deployment Descriptor (deploy-monitor.wsdd)<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <handler name="soapmonitor" type="java:org.apache.axis.handlers.SOAPMonitorHandler"> <parameter name="wsdlURL" value="/axis/SOAPMonitorService-impl.wsdl"/> <parameter name="namespace" value="http://tempuri.org/wsdl/2001/12/SOAPMonitorService-impl.wsdl"/> <parameter name="serviceName" value="SOAPMonitorService"/> <parameter name="portName" value="Demo"/> </handler> <service name="SOAPMonitorService" provider="java:RPC"> <parameter name="allowedMethods" value="publishMessage"/> <parameter name="className" value="org.apache.axis.monitor.SOAPMonitorService"/> <parameter name="scope" value="Application"/> </service> </deployment> That takes care of enabling the SOAPMonitor service and starting the viewer, but to actually make use of it you need to set up request and response flows for some other service that go through the SOAPMonitor handler. You can do this by modifying the deploy.wsdd file for the service you want to monitor, adding requestFlow and responseFlow definitions immediately following the start tag for the <service> element, as shown in the partial listing below: Request and Response Flow for Monitored Service... <service name="PersonLookup" provider="java:RPC"> <requestFlow> <handler type="soapmonitor"/> </requestFlow> <responseFlow> <handler type="soapmonitor"/> </responseFlow> <parameter name="wsdlTargetNamespace" value="urn:axis.sosnoski.com"/> <parameter name="wsdlServiceElement" value="PersonLookupService"/> ... If the service to be monitored has already been deployed you'll next need to undeploy it. Finally, deploy the service using the modified deploy.wsdd. Any requests to that service should now show up in the viewer applet. Here's a sample of what this should look like, using the example web service deployed in build demo: about soaptoolkit 1 copy wsdl file to client 2 at client ,web reference use   the  wsdl  file where  web client  such as :http://localhost:8080/WebApplication1/Web References/localhost31/Service1.wsdl 4 change the wsdl at client  as <soap:address location="http://localhost:8080/WebApplication1/Service1.asmx?WSDL "/>  对于。net ,还可以修改web引用所生成的代理如下  public class PrimitiveService : System.Web.Services.Protocols.SoapHttpClientProtocol {                /// <remarks/>        public PrimitiveService() {            this.Url = "http://127.0.0.1:8082/axis/services/urn:corba-primitive";        }
个人主页 | 引用回复 | 主人回复 | 返回 | 编辑 | 删除

回复:soap 截取工具
小雨发表评论于2005/3/4 21:06:16

以下引用xiaowu(游客)在2005-3-4 21:03:05的评论: 好久没来了,到这里看看,发现小雨很用心   现在我的空闲时间越来越少
个人主页 | 引用回复 | 主人回复 | 返回 | 编辑 | 删除

回复:soap 截取工具
xiaowu(游客)发表评论于2005/3/4 21:03:05

好久没来了,到这里看看,发现小雨很用心
个人主页 | 引用回复 | 主人回复 | 返回 | 编辑 | 删除

» 1 »

发表评论:
昵称:
密码:
主页:
标题:
验证码:  (不区分大小写,请仔细填写,输错需重写评论内容!)
站点首页 | 联系我们 | 博客注册 | 博客登陆

Sponsored By W3CHINA
W3CHINA Blog 0.8 Processed in 0.359 second(s), page refreshed 144756593 times.
《全国人大常委会关于维护互联网安全的决定》  《计算机信息网络国际联网安全保护管理办法》
苏ICP备05006046号