Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 08, 2012 08:09 PM by genesplitter
Jun 08, 2012 08:09 PM|LINK
Split off from
Hello AJ and Qasim - I'm also now in the same boat as both of you with the Thomson Reuters Web of Knowledge webservice. I have the following code:
WokAuth.WOKMWSAuthenticateService authService = new WokAuth.WOKMWSAuthenticateService();
string auth_string = authService.authenticate();
Cookie mycookie = new Cookie("SID", auth_string, null, "http://auth.cxf.wokmws.thomsonreuters.com");
authService.CookieContainer = new CookieContainer();
I get a valid string token back from the authenticate call, but I get the following error:
Session ID cookie value cannot be null or empty string - It is required that the high level Web service client program participate in the session initialized by the server.
I'm not sure how to use fiddler to verify the HTTP header has a cookie going out and I also wondered if a firewall could be blocking cookies (I seriously doubt it). Hopefully you found a solution.
Lawrence Berkeley National Laboratory