I have a web service that calls another web service that uses session state. Now I am rewriting the web service and making it WCF. I am having some confusion on how to call my web service from my wcf service.
Here is the code as it exists now:
[WebMethod(EnableSession = true]
public string MyWebServiceCall()
{
string result;
MyOtherWebService.MyOtherWebService C = new MyOtherWebService.MyOtherWebService();
C.CookieContainer = GetCookieContainer();
result = C.GetResult();
Session[_codingBookSession] = C.CookieContainer;
return result;
}