在 WSDL 文件中添加 WSRM AtMostOnce 断言
我花了相当多的时间来阅读如何实现特定的 WSRM 策略(AtMostOnce 属性),以防止肥皂消息的重复。 Google 将我带到了 Red Hat 和 Oracle 站点中的几个页面,但似乎我真正能找到的只是我查看的任何页面上的两件事之一 -
- 一段仅显示策略括号的代码,以及一堆省略的代码假设读者会明白这一点(我不明白:/)。
- WSDL 文件的标准示例(定义的类型、服务、端口、绑定和消息),然后是一些说明 ReliableMessaging 用途的文本,加上与其相关的各种断言,以及与“现在”同义的语句我确信您不需要有关如何将它们组合在一起的示例,所以祝您玩得开心,谢谢再见。”
我只想问是否有人可以提供一个非常简单的 WSDL 示例(不排除任何代码),该示例为所有消息实现 AtMostOnce 断言。假设只有两个消息,例如 getStuffRequest 和 getStuffResponse。 要么告诉我我错在哪里,也许您认为这是学习如何正确执行此操作的良好资源。
I've spent quite a few hours reading up on implementing a specific WSRM policy, the AtMostOnce attribute, to prevent duplication of soap messages. Google brought me to several pages in Red Hat's and Oracle's sites, but it seems all I can really find are one of two things on any page I look at-
- A snippet of code showing just the policy brackets, and a bunch of omitted code in between assuming the reader will get the point (I don't :/ ).
- A standard example of a WSDL file (defined types, services, ports, bindings, and messages), and then a little bit of text saying what ReliableMessaging is used for, plus the various assertions related to it, and a statement synonmous with "now I'm sure you don't need an example on how to put it all together, so have fun k thnx bye."
All I ask is if someone could please just provide a very simple WSDL example, no code excluded, that implements the AtMostOnce assertion for all messages. Just assume there are only two messages, such as getStuffRequest and getStuffResponse.
Either that or tell me where it is I'm horribly wrong, and perhaps what you consider to be a good resource for learning how to do this correctly.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在Metro下载中,有示例:
样本/ws-rm/javaone-2006-demo
搜索 RMDemo.wsdl
In the Metro download, there are samples:
samples/ws-rm/javaone-2006-demo
search for RMDemo.wsdl
<wsp:ExactlyOne>