Drussyonekken
New Member
I am trying to make a .net client for a java web service made using JAX-WS 2.0 . Actually the web service maintains session of the client. Well i did create a client from java and it worked. But i am having problem in consuming the web service from .net client. According to the specification of that web service i have to set the SESSION_MAINTAIN_PROPERTY of the BindingProvider true to indicate whether or not the client wants to participate in session with service endpoint. It is done in java client in following way:\[code\]Hello proxy = new HelloService().getHelloPort();((BindingProvider)proxy).getRequestContext() .put(BindingProvider.SESSION_MAINTAIN_PROPERTY,true);\[/code\]I dont know how to do such from .net.