Hi Guys,
I have a Webservice and a client to webservice.
I am using Duplex pattern.
There is a field in client called "id" which is set to some value. The client code is shown below.
string id = "foobar";
InstanceContext context = new InstanceContext(this);
CalcClient client = new CalcClient(context);
How can I access the field "id" in Webservice.
On the server side I am getting a Callback channel in the following way.
ICalcServiceCallback callback = OperationContext.Current.GetCallbackChannel<ICalcServiceCallback>();
I need to access "id" in the server.
Thanks,