Hi Jan, please note at the moment this session stuff only works when CXF is deployed in Servlet container, but doesn't work in standalone mode (i.e., using Jetty). I have filed a JIRA to track this issue: https://issues.apache.org/jira/browse/CXF-750
Cheers, Jervis -----Original Message----- From: Dan Diephouse [mailto:[EMAIL PROTECTED] Sent: 2007?6?28? 4:09 To: [email protected] Subject: Re: session management Hi Jan, I think this will work: JaxWsProxyFactoryBean proxyBean = new JaxWsProxyFactoryBeanH(); .... 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 ---------------------------- IONA Technologies PLC (registered in Ireland) Registered Number: 171387 Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
