Removing mustUnderstand attribute from soap headers?

2) Since you're generating your client with wsdl2java, it's quite possible that the WSDL (or more accurately, the schema) contains the mustUnderstand attribute on an element referenced in your SOAP binding. So when wsdlToJava generates the client code, those attributes will naturally be added. See here for a description of the mustUnderstand attribute.

If modifying the WSDL is out of the question, and you must remove this attribute from the header, then I suppose you can try to do it with a handler 3) Not advisable, but if you really MUST remove this attribute then I suppose you can add a client side handler that alters the header: ws.apache.org/axis/java/apiDocs/org/apac....

1)Yes I am using SOAPHeaderElement but I tried with both with not setting mustunderstand and settign it to false. Nothing changed actually. My code like this: SOAPHeaderElement header = new SOAPHeaderElement( "ns1://x.x.x.

X/abc. Asmx", "AuthHeader"); SOAPElement node = header. AddChildElement("user_1"); node.

AddTextNode("abc"); SOAPElement node2 = header. AddChildElement("pass_1"); node2. AddTextNode("123"); _call.

AddHeader(header); – cacert Sep 19 at 16:49 When you say nothing changed, do you mean that the SOAP header is always showing up with mustUnderstand=false? Do you have the WSSDL/schema you could post (don't post the whole thing if it's very long... just relevant sections). – Simeon G Sep 19 at 17:44 yes I mean exactly that.

I think axis codes add mustunderstand and actor properties in default behaviour when soap header parameter set. When I remove the code for soap header than mustunderstand and actor parameters also removed. – cacert Sep 20 at 7:57 related wsdl part may be – cacert Sep 20 at 8:27.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions