How do I add mustunderstand attribute into Java SOAP header?
843833Jul 14 2010 — edited Jul 15 2010Hi
I am having a bit of trouble setting the mustUnderstand="1" attribute in my outbound soap header. I have read a lot of tutorials, but I have absolutely no luck. I can add headers, just not set the mustunderstand attribute.
I understand I must use SOAPHeaderElement, but I then get different errors, saying certain functions aren't being overridden etc. When I attempt to fix those errors I just walk into a bunch of new errors....
I have been developing in PHP for years now, so my java knowledge isn't at a stage yet where these things just come naturally, so I think my lack of knowledge is the cause of me not using the SOAPHeaderElement interface correctly.
Does anyone know of an easy/reliable way of setting mustunderstand to true? With or without SoapHeaderElement? I use Java 1.6, and Netbeans 6.9.
Thanks all