On Wednesday, June 15, 2011 1:26:50 PM swatkat_b wrote:
> So apparently this is the code that works.
> 
> 
>         JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
>       factory.setServiceClass(SapSalesOrderSoap.class);
>       factory.setDataBinding(new XmlBeansDataBinding());
>       factory.getInInterceptors().add(new LoggingInInterceptor());
>       factory.getOutInterceptors().add(new LoggingOutInterceptor());
>       factory.setAddress(sWebserviceUrl);
>       SapSalesOrderSoap stub = (SapSalesOrderSoap) factory.create();

Yep.  That's perfect.   

Dan



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

Reply via email to