如何在 JAX-WS CXF 处理程序中获取 SOAP 方法
我正在编写一个处理程序,实现:
SOAPHandler<SOAPMessageContext>
我只想在某个 SOAP 调用上执行某些操作,但看起来处理程序整体附加到 Web 服务,而不是特定的方法。
那么,如何检查我的handleMessage代码中正在调用什么方法?
谢谢
I'm writing a handler, implementing:
SOAPHandler<SOAPMessageContext>
I only want to do something on a certain SOAP call, but it looks like the handler gets attached to the web service overall, rather than a specific method.
So, how to check what method is being called in my handleMessage code?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,看起来我找到了一种方法,不确定这是否是最好的方法,但它应该有效:
OK looks like I found a way, not sure if it's the best method but it should work: