Hi Dan,

> JaxWsProxyFactoryBean proxyBean = new JaxWsProxyFactoryBean();
> ....
> MyClient client = (MyClient) proxyBean.create();
> BindingProvider bp = (BindingProvider) myclient;


thanks, that should do the trick. :-)

To enable a webapplication using one session per user, one has to create a proxy
for each user-session. This would mean, I'd have to maintain the
JaxWsProxyFactoryBean in the user-session, which fails:

[09:33:06.551] java.io.NotSerializableException:
org.apache.cxf.jaxws.JaxWsClientProxy

Any more ideas on this?

ATM I changed the Service to get the session-id transmitted with every request,
but this way i have to implement my own session-management on the service-side.

Best Regards, --- Jan.

Reply via email to