See:
http://cxf.apache.org/faq.html#FAQ-HowcanIaddsoapheaderstotherequest%252Fresponse%253F

Dan



On Thursday 29 January 2009 4:48:09 pm Nepali, Sonam (GE Healthcare, 
consultant) wrote:
> 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



-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog

Reply via email to