Adding WS Addressing to SOAP header - ACK!
I am using Axis2 to generate client code and a unit test from a partners WSDL. In the resulting test, the SOAP xml is being generated just fine, except that there is no header being generated.
They're using WS-Addressing, and require their header to look something like:
I can not, for the love of mike, figure out how to get this wsa info into the header.
It seems like I should do something like this:
The options get set...but the headers are always missing. It's only if I adding custom headers that I can get _any_ headers to show up.
Options options = new Options();
Can someone help? How do I get that info into the header of my SOAP envelope?