开发者

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

开发者 https://www.devze.com 2022-12-30 14:37 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For h开发者_开
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

精彩评论

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