I added the ability to pass context properties for WS & RS handlers, add "context.properties" to a relevant config type and pass a map (during the lookup/registration)
Sergey
On 17/11/11 12:51, BernieBo wrote:
I am trying to pass some properties to the config of a CXF/DOSGi JAX-WS based
client in order to tell it to maintain the session. I have successfully
tested that with an "ordinary" (non DOSGi) CXF JAX-WS based client by
registering the "org.apache.cxf.message.Message.MAINTAIN_SESSION" option to
the client's request context:

/client.getRequestContext().put("org.apache.cxf.message.Message.MAINTAIN_SESSION",
Boolean.TRUE);/

(Using
  /client.getRequestContext().put(BindingProvider.SESSION_MAINTAIN_PROPERTY,
Boolean.TRUE);/ did not work)

My question is: How can i *programmatically* pass these configuration
options to the client proxy generated by CXF/DOSGi?

Thanks for your help in advance.

--
View this message in context: 
http://cxf.547215.n5.nabble.com/CXF-DOSGi-Passing-JAX-WS-properties-for-maintaining-session-tp5001062p5001062.html
Sent from the cxf-user mailing list archive at Nabble.com.


--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Reply via email to