how to pass parameters through soap header in java [closed]
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.
精彩评论