Web Of Science WokSearchLite C# client
Hayatımda bu kadar saçma şey görmedim.
WSDL reference files:
http://ipscience-help.thomsonreuters.com/wosWebServicesLite/WebServicesLiteOverviewGroup/Introduction/wsdlFileLocations.html
using WindowsFormsApplication6.com.webofknowledge.search;
using WindowsFormsApplication6.com.webofknowledge.authenticate;
WOKMWSAuthenticateService wa = new WOKMWSAuthenticateService();
string session_id = wa.authenticate();
Uri target = new Uri("http://search.webofknowledge.com/");
wa.CookieContainer = new CookieContainer();
wa.CookieContainer.Add(new Cookie("SID", session_id) { Domain = target.Host });
WokSearchLiteService searcher = new WokSearchLiteService();
queryParameters q = new queryParameters();
q.databaseId = "WOS";
editionDesc[] my_editions = editionDesc[5];
my_editions[0] = new editionDesc() { collection = "WOS", edition = "SCI" };
my_editions[1] = new editionDesc() { collection = "WOS", edition = "SSCI" };
my_editions[2] = new editionDesc() { collection = "WOS", edition = "AHCI" };
my_editions[3] = new editionDesc() { collection = "WOS", edition = "ISTP" };
my_editions[4] = new editionDesc() { collection = "WOS", edition = "ISSHP" };
q.editions = my_editions;
q.userQuery = "AI=Researcher ID"; or //q.userQuery = "AU=Surname Name*";
q.queryLanguage = "en";
retrieveParameters rp = new retrieveParameters();
rp.count = 100;
rp.firstRecord = 1;
//Cookie maybe unneccessary in here ???
searcher.CookieContainer = new CookieContainer();
searcher.CookieContainer.Add(new Cookie("SID", session_id) { Domain = target.Host });
searchResults sr = searcher.search(q, rp);
wa.closeSession();