This content has been marked as final.
Show 3 replies
-
1. Re: Enabling cookies in a JBossWS web service client
ropalka Nov 6, 2007 2:44 AM (in response to cbalaves)Service service = Service.create(wsdlURL, serviceQName); YourInterface proxy = (YourInterface)service.getPort(YourInterface.class); // the following call enables cookies ((BindingProvider)proxy) .getRequestContext() .put(BindingProvider.SESSION_MAINTAIN_PROPERTY, true); proxy.callYourMethod()
Richard -
2. Re: Enabling cookies in a JBossWS web service client
ropalka Nov 6, 2007 2:46 AM (in response to cbalaves)You must use JBossWS 2.0.1 or higher, because of the following bug in previous releases:
http://jira.jboss.org/jira/browse/JBWS-1733
Richard -
3. Re: Enabling cookies in a JBossWS web service client
cbalaves Nov 14, 2007 6:25 PM (in response to cbalaves)Thanks, Richard! It worked!