Hi Jan,

Can you tell me if you are trying to call the service which is deploied into the web container ? And if you can show us you test case to reproduce it , we will solve the issue soon.

I just added the session support in cxf-rt-transport-http-jetty[1] which just works for standalone mode.
After I finish the testing work, I will commit the code.
Please monitor the commit letter :).

[1] https://issues.apache.org/jira/browse/CXF-750

Cheers,
Willem.




Jan Kriesten wrote:
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