Hi,
 
I've generated my proxy code with wsdl2java and have a helper class to form a custom header. The problem is that I'm confused about how to write the code for the header to get added to my SOAP message via the stub.
 
{
   MyServiceLocator locator = new MyServiceLocator();
   MyService svc = locator.getMyService();
 
   MyCustomHeader header = new MyCustomHeader();
 
   // ??? how do i set my header before the call to my WS method?
 
   scv.myMethod();
}



Do you Yahoo!?
Free Pop-Up Blocker - Get it now

Reply via email to