This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi There, I have written a client application that talks to a web service. Up until this point I was using the axis-ant wsdl2java task in eclipse to build proxies. Everything was great. I was able to set a soapHeader value by casting the Port to a Stub and calling the setHeader() method. Done.
Then, I had to move my stuff into websphere and was required to use their version of wsdl2java ant task. It all worked pretty well except that I can't for the life of me figure out how to set the SOAPHeader. It seems that com.ibm.ws.webservices.engine.client.Stub has no setHeader() method.
I am pulling my hair out and would be indebted many beers to anyone who could help me out with this.