This week's book giveaway is in the Other Open Source APIs forum. We're giving away four copies of Storm Applied and have Sean Allen, Peter Pathirana & Matthew Jankowski on-line! See this thread for details.
The issue is that the created "SOAPHeader" has unneeded attributes "mustUnderstand" and "actor" which the schema can't parse. I need to fix this in my client as it's not possible to update the schema...
not 100% sure but did you try setting it to null in your code or if there is removeHeader method like setHeader in port?
All desirable things in life are either illegal, banned, expensive or married to someone else !!!
Joined: Nov 30, 2012
Thanks a lot for you reply
I tried but it didn't have any effect at all.
I found another good solution though, I extended SOAPHeaderElement class, and override its outputImpl(SerializationContext context) method, then used document builder to build my XML header element, at the end I call this context.writeDOMElement(elem);