i have been trying learn how access soap services of web of knowledge using php. using code below, downloaded https://gist.github.com/domoritz/2012629.
<?php $auth_url = "http://search.isiknowledge.com/esti/wokmws/ws/wokmwsauthenticate?wsdl"; $auth_client = @new soapclient($auth_url); $auth_response = $auth_client->authenticate(); $search_url = "http://search.isiknowledge.com/esti/wokmws/ws/woksearchlite?wsdl"; $search_client = @new soapclient($search_url); $search_client->__setcookie('sid',$auth_response->return); $search_array = array( 'queryparameters' => array( 'databaseid' => 'wos', 'userquery' => 'au=douglas t*', 'editions' => array( array('collection' => 'wos', 'edition' => 'ssci'), array('collection' => 'wos', 'edition' => 'sci') ), 'querylanguage' => 'en' ), 'retrieveparameters' => array( 'count' => '5', 'fields' => array( array('name' => 'date', 'sort' => 'd') ), 'firstrecord' => '1' ) ); try{ $search_response = $search_client->search($search_array); } catch (exception $e) { echo $e->getmessage(); } print_r($search_response); ?>
the code seems working. however, $search_response
receive "user has no entitlement service level - woksearchlight". trying access piece of data server inside institution has access web of knowledge, , connected web of knowledge using http://apps.webofknowledge.com/ua_generalsearch_input.do?product=ua&search_mode=generalsearch&sid=4dd8nnfofoom@7@5kh6&preferencessaved=.
can tell me happening? need permission of site?
i appreciate help!
yes need register first @ http://ip-science.thomsonreuters.com/info/ws_form/?agree=0&x=31&y=12 , enter ip address, should work think...
Comments
Post a Comment