Hi Jan, I think this will work:
JaxWsProxyFactoryBean proxyBean = new JaxWsProxyFactoryBean(); .... MyClient client = (MyClient) proxyBean.create(); BindingProvider bp = (BindingProvider) myclient; Regards, - Dan On 6/27/07, Jan Kriesten <[EMAIL PROTECTED]> wrote:
hi Dan, > http://weblogs.java.net/blog/ramapulavarthi/archive/2006/06/maintaining_ses.html ok, thanks. That directly leads towards the next question. ;-) How would I get the BindingProvider with such a client then: Bus bus = new SpringBusFactory().createBus(); JaxWsProxyFactoryBean proxyBean = new JaxWsProxyFactoryBean(); proxyBean.setBus( bus ); proxyBean.getServiceFactory().setDataBinding( new AegisDatabinding() ); proxyBean.setAddress( "http://url/service/Service" ); proxyBean.setServiceClass( Service.class ); proxyBean.getClientFactoryBean().getBindingFactory() doesn't do the trick, right? Best regards, --- Jan.
-- Dan Diephouse Envoi Solutions http://envoisolutions.com | http://netzooid.com/blog
