将 Web Services Reliable Messaging (WS-RM) 应用到 Web 服务,第 1 部分
2010-03-15 00:00:00 来源:WEB开发网<soapenv:Header>
…….
</soapenv:Header>
<soapenv:Body>
<wsrm:CreateSequence xmlns:wsrm="http://docs.oasis-open.org/ws-
rx/wsrm/200702">
<wsrm:AcksTo>
<wsa:Address>http://docs.oasis-open.org/ws-rx/wsmc/200702/anonymous?
id=urn:uuid:13EC8EEB4338FEE7CB1185807025917</wsa:Address>
</wsrm:AcksTo>
</wsrm:CreateSequence>
</soapenv:Body>
CreateSequenceResponse:此 WS-RM 协议消息通知客户机或提供商 WS-RM 实现到特定端点的 createSequence 请求已经被接受;它还提供了 wsrm:Identifier,它用于描述该序列。
<soapenv:Header>
…….
</soapenv:Header>
<soapenv:Body>
<wsrm:CreateSequenceResponse xmlns:wsrm=
"http://docs.oasis-open.org/ws-rx/wsrm/200702">
<wsrm:Identifier>urn:uuid:13EC8EEB4338FEE7CB1185807029442
</wsrm:Identifier>
</wsrm:CreateSequenceResponse>
</soapenv:Body>
Sequence message:这些消息承载了应用程序消息。每个序列消息都有一个消息编号,编号从 1 开始并且随着每发送一个应用程序消息而递增。
<soapenv:Header>
<wsa:To>http://127.0.0.1:9999/axis2/services/RMSampleService
</wsa:To>
<wsa:ReplyTo>
<wsa:Address>http://docs.oasis-open.org/ws-rx/wsmc
/200702/anonymous?id=urn:uuid:13EC8EEB4338FEE7CB1185807025917
</wsa:Address>
</wsa:ReplyTo>
<wsa:MessageID>urn:uuid:13EC8EEB4338FEE7CB1185807026684
</wsa:MessageID>
<wsa:Action>urn:wsrm:EchoString</wsa:Action>
<wsrm:Sequence xmlns:wsrm="http://docs.oasis-open.org/
ws-rx/wsrm/200702" soapenv:mustUnderstand="1">
<wsrm:Identifier>urn:uuid:13EC8EEB4338FEE7CB1185807029442
</wsrm:Identifier>
<wsrm:MessageNumber>1</wsrm:MessageNumber>
</wsrm:Sequence>
</soapenv:Header>
<soapenv:Body>
…….
</soapenv:Body>
- ››web安全之信息刺探防范1
- ››webqq 最新加密算法
- ››webdriver 数据库验证方法
- ››WebSphere Application Server 7.0 XML Feature P...
- ››Web2.0网络时代基于社会影响力的声望值
- ››Web服务器搭建:配置Linux+Apache+Mysql+PHP(或Pe...
- ››WebLogic调整Java虚拟机性能优化参数
- ››webqq2.0协议研究(3)-ClientId生成
- ››Web.config配置文件
- ››WebBrowser组件的execWB方法——Delphi控制浏览器...
- ››Web前端设计模式--制作漂亮的弹出层
- ››WebSphere 反向投资者: 解决 WebSphere Applicati...
更多精彩
赞助商链接