Maybe you can use org.apache.axis.client.Stub. SetHeader method? Something like this.
Maybe you can use org.apache.axis.client.Stub. SetHeader method? Something like this: SOAPHeaderElement authentication = new SOAPHeaderElement("mc1.com.br/","Authentication"); SOAPHeaderElement user = new SOAPHeaderElement("mc1.com.br/","User", "string"); SOAPHeaderElement password = new SOAPHeaderElement("mc1.com.br/","Password", "string"); authentication.
AddChild(user); authentication. AddChild(password); stub. SetHeader(authentication); The code might not work exactly like this, I haven't tested it, it's just an example.
After so many frustrating hours, this is the answer I needed. Thanks – LiorH Dec 23 '10 at 16:19 This was exactly what I needed! – talanb Apr 22 at 12:58.
If you have an object representing the Authentication container with userid and password, you can do it like so: import org.apache.axis.client. Stub; ... MyAuthObj authObj = new MyAuthObj("userid","password"); ((Stub) yourServiceObject). SetHeader("urn://your/name/space/here", "partName", authObj).
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.