SOAP头元素
使用 JAX-WS 2.2.5 (Metro) 编写 Java 代码来为以下结构创建 SOAPHeaderElement 或 Element 对象所需的帮助
Metro 提供了 WSBindingProvider 在 Header 标记内创建标头,但是如何创建嵌套标头是问题(将用户和Auth 标签内的密码)。
任何帮助将不胜感激。 价值 价值
谢谢
required help to write Java code to create SOAPHeaderElement or Element object for the following structure using JAX-WS 2.2.5 (Metro)
Metro provides WSBindingProvider to create header within Header tag but, how to create a nested header is the question (putting user and password within Auth tag).
Any help would be appreciated.
value
value
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
创建以用户和密码作为属性的 Auth 类。然后将该 auth 对象添加为标头。
Create Auth class which have user and password as the attributes. Then add that auth object as the Header.