开发者

how to pass parameters through soap header in java [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For h开发者_开发技巧elp clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

how to pass parameters through soap header in java


If using SAAJ, you can, with the following code:

SOAPHeader header = soapMessage.getSOAPHeader();
header.addHeaderElement(yourElement);

If using JAX-WS RI, see here
If using CXF, see here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜