Is there a way to programmatically add custom soap headers given the
following code:
 
JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();

factory.getInInterceptors().add(new LoggingInInterceptor());

factory.getOutInterceptors().add(new LoggingOutInterceptor());

factory.setServiceClass(ExceptionWebService.class);

factory.setAddress(address);

HelloWorld hello = (HelloWOrld)factory.create();

hello.sayhi();

 

thanks

 

Sonam  

 

Reply via email to