<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">OK,<br>
      <br>
      I moved on with this, and it seems to be an authorisation problem.<br>
      <br>
      I wrote a script that mimics the plugin's behaviour step-by-step
      (code follows) which moves on with authentication, but stops when
      the search is executed:<br>
      <br>
      #!/usr/bin/perl -w -I /usr/share/eprints3/perl_lib<br>
      <br>
      use SOAP::ISIWoK;<br>
      my $wok = SOAP::ISIWoK-&gt;new;<br>
      my $som = $wok-&gt;authenticate();<br>
      if ($som-&gt;fault) {<br>
          die $som-&gt;faultstring;<br>
      }<br>
      <br>
      $som = $wok-&gt;search("PY = 2006 and OG = (Cambridge)");<br>
      if ($som-&gt;fault) {<br>
          die $som-&gt;faultstring;<br>
      }<br>
      <br>
      so, the code after the query returns a fault and the error message
      is:<br>
      <br>
      Not authorized for product: WWS at ./bin/mamalos/test_isi_lugin.pl
      line 12.<br>
      <br>
      Does this mean that our institution needs a different type of
      account in order to use the search functionality of the API or is
      it something related to the plugin?<br>
      <br>
      Thanks all in advance.<br>
      <br>
      <br>
      On 13/11/2015 12:15 μμ, George Mamalakis wrote:<br>
    </div>
    <blockquote
cite="mid:EMEW3|483f42498f3e393af1b0560781d8b9b3rACAI214eprints-tech-bounces|ecs.soton.ac.uk|5645B84B.308@eng.auth.gr"
      type="cite">
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      <div class="moz-cite-prefix">Hi guys,<br>
        <br>
        Any ideas on this? Because this functionality is a great asset
        for convincing the faculty to import their publications on their
        own...:)<br>
        <br>
        Thanks in advance!<br>
        <br>
        On 06/11/2015 06:52 μμ, George Mamalakis wrote:<br>
      </div>
      <blockquote
cite="mid:EMEW3|b782c39980eff46162a23ec03212e1d8rA5GsF14eprints-tech-bounces|ecs.soton.ac.uk|563CDAD4.9050805@eng.auth.gr"
        type="cite">
        <meta content="text/html; charset=utf-8"
          http-equiv="Content-Type">
        <div class="moz-cite-prefix">Hi Martin,<br>
          <br>
          I checked ISI-WoK from an Institution IP and still no luck.
          Then I tried your suggestion with no luck as well. The
          difference is that this time the returned messages have
          changed to:<br>
          <br>
          Test run failed: 0 item(s) found before an error caused the
          test run to abort. Carefully check any warning messages before
          proceeding.<br>
          <br>
          I am quite unsure if SOAP::ISIWoK has been correctly
          installed, since it returned lot's of errors. In particular
          this is how I forced installed it using cpan, because it
          wouldn't pass the tests (on a  Debian Jessie):<br>
          <br>
          # cpan  -f -i SOAP::ISIWoK<br>
          <br>
          Reading '/root/.cpan/Metadata'<br>
            Database was generated on Wed, 27 May 2015 15:17:02 GMT<br>
          Fetching with LWP:<br>
          <a moz-do-not-send="true" class="moz-txt-link-freetext"
            href="http://www.cpan.org/authors/01mailrc.txt.gz">http://www.cpan.org/authors/01mailrc.txt.gz</a><br>
          Reading '/root/.cpan/sources/authors/01mailrc.txt.gz'<br>
............................................................................DONE<br>
          Fetching with LWP:<br>
          <a moz-do-not-send="true" class="moz-txt-link-freetext"
            href="http://www.cpan.org/modules/02packages.details.txt.gz">http://www.cpan.org/modules/02packages.details.txt.gz</a><br>
          Reading
          '/root/.cpan/sources/modules/02packages.details.txt.gz'<br>
            Database was generated on Fri, 06 Nov 2015 15:29:02 GMT<br>
          ..............<br>
            New CPAN.pm version (v2.10) available.<br>
            [Currently running version is v2.05]<br>
            You might want to try<br>
              install CPAN<br>
              reload cpan<br>
            to both upgrade CPAN.pm and run the new version without
          leaving<br>
            the current session.<br>
          <br>
          <br>
..............................................................DONE<br>
          Fetching with LWP:<br>
          <a moz-do-not-send="true" class="moz-txt-link-freetext"
            href="http://www.cpan.org/modules/03modlist.data.gz">http://www.cpan.org/modules/03modlist.data.gz</a><br>
          Reading '/root/.cpan/sources/modules/03modlist.data.gz'<br>
          DONE<br>
          Writing /root/.cpan/Metadata<br>
          Running install for module 'SOAP::ISIWoK'<br>
          Fetching with LWP:<br>
          <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.cpan.org/authors/id/T/TI/TIMBRODY/SOAP-ISIWoK-3.01.tar.gz">http://www.cpan.org/authors/id/T/TI/TIMBRODY/SOAP-ISIWoK-3.01.tar.gz</a><br>
          Checksum for
          /root/.cpan/sources/authors/id/T/TI/TIMBRODY/SOAP-ISIWoK-3.01.tar.gz
          ok<br>
          'YAML' not installed, will not store persistent state<br>
          Configuring T/TI/TIMBRODY/SOAP-ISIWoK-3.01.tar.gz with
          Makefile.PL<br>
          Checking if your kit is complete...<br>
          Looks good<br>
          Generating a Unix-style Makefile<br>
          Writing Makefile for SOAP::ISIWoK<br>
          Writing MYMETA.yml and MYMETA.json<br>
            TIMBRODY/SOAP-ISIWoK-3.01.tar.gz<br>
            /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK<br>
          Running make for T/TI/TIMBRODY/SOAP-ISIWoK-3.01.tar.gz<br>
          cp lib/SOAP/ISIWoK.pm blib/lib/SOAP/ISIWoK.pm<br>
          cp lib/SOAP/ISIWoK/Lite.pm blib/lib/SOAP/ISIWoK/Lite.pm<br>
          Manifying blib/man3/SOAP::ISIWoK.3pm<br>
            TIMBRODY/SOAP-ISIWoK-3.01.tar.gz<br>
            /usr/bin/make -- OK<br>
          Running make test<br>
          PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM"
          "-MTest::Harness" "-e" "undef *Test::Harness::Switches;
          test_harness(0, 'blib/lib', 'blib/arch')" t/*.t<br>
          t/SOAP-ISIWoK.t .. 3/10 <br>
          #   Failed test 'authenticate (soap:Server): The given
          SOAPAction <a moz-do-not-send="true"
            class="moz-txt-link-freetext"
            href="http://auth.cxf.wokmws.thomsonreuters.com%5C#authenticate">http://auth.cxf.wokmws.thomsonreuters.com\#authenticate</a>
          does not match an operation.'<br>
          #   at t/SOAP-ISIWoK.t line 34.<br>
          <br>
          #   Failed test 'search (soap:Server): The given SOAPAction <a
            moz-do-not-send="true" class="moz-txt-link-freetext"
            href="http://woksearch.v3.wokmws.thomsonreuters.com%5C#search"><a class="moz-txt-link-freetext" href="http://woksearch.v3.wokmws.thomsonreuters.com\#search">http://woksearch.v3.wokmws.thomsonreuters.com\#search</a></a>
          does not match an operation.'<br>
          #   at t/SOAP-ISIWoK.t line 38.<br>
          <br>
          #   Failed test 'search with opts (soap:Server): The given
          SOAPAction <a moz-do-not-send="true"
            class="moz-txt-link-freetext"
            href="http://woksearch.v3.wokmws.thomsonreuters.com%5C#search">http://woksearch.v3.wokmws.thomsonreuters.com\#search</a>
          does not match an operation.'<br>
          #   at t/SOAP-ISIWoK.t line 50.<br>
          t/SOAP-ISIWoK.t .. 6/10 <br>
          #   Failed test 'retrieve (soap:Client): Unmarshalling Error:
          cvc-elt.3.1: Attribute '<a moz-do-not-send="true"
            class="moz-txt-link-freetext"
            href="http://www.w3.org/2001/XMLSchema-instance,nil">http://www.w3.org/2001/XMLSchema-instance,nil</a>'
          must not appear on element 'queryId', because the {nillable}
          property of 'queryId' is false. '<br>
          #   at t/SOAP-ISIWoK.t line 62.<br>
          <br>
          #   Failed test 'missing record id'<br>
          #   at t/SOAP-ISIWoK.t line 63.<br>
          <br>
          #   Failed test 'retrieveById (soap:Server): The given
          SOAPAction <a moz-do-not-send="true"
            class="moz-txt-link-freetext"
            href="http://woksearch.v3.wokmws.thomsonreuters.com%5C#retrieveById">http://woksearch.v3.wokmws.thomsonreuters.com\#retrieveById</a>
          does not match an operation.'<br>
          #   at t/SOAP-ISIWoK.t line 74.<br>
          <br>
          #   Failed test 'citedReferences (soap:Server): The given
          SOAPAction <a moz-do-not-send="true"
            class="moz-txt-link-freetext"
            href="http://woksearch.v3.wokmws.thomsonreuters.com%5C#citedReferences">http://woksearch.v3.wokmws.thomsonreuters.com\#citedReferences</a>
          does not match an operation.'<br>
          #   at t/SOAP-ISIWoK.t line 79.<br>
          # Looks like you failed 7 tests of 10.<br>
          t/SOAP-ISIWoK.t .. Dubious, test returned 7 (wstat 1792,
          0x700)<br>
          Failed 7/10 subtests <br>
          <br>
          Test Summary Report<br>
          -------------------<br>
          t/SOAP-ISIWoK.t (Wstat: 1792 Tests: 10 Failed: 7)<br>
            Failed tests:  3-9<br>
            Non-zero exit status: 7<br>
          Files=1, Tests=10,  3 wallclock secs ( 0.05 usr  0.01 sys + 
          0.44 cusr  0.03 csys =  0.53 CPU)<br>
          Result: FAIL<br>
          Failed 1/1 test programs. 7/10 subtests failed.<br>
          Makefile:827: recipe for target 'test_dynamic' failed<br>
          make: *** [test_dynamic] Error 7<br>
            TIMBRODY/SOAP-ISIWoK-3.01.tar.gz<br>
            /usr/bin/make test -- NOT OK<br>
          //hint// to see the cpan-testers results for installing this
          module, try:<br>
            reports TIMBRODY/SOAP-ISIWoK-3.01.tar.gz<br>
          Running make install<br>
          Installing /usr/local/share/perl/5.20.2/SOAP/ISIWoK.pm<br>
          Installing /usr/local/share/perl/5.20.2/SOAP/ISIWoK/Lite.pm<br>
          Installing /usr/local/man/man3/SOAP::ISIWoK.3pm<br>
          Appending installation info to
          /usr/local/lib/x86_64-linux-gnu/perl/5.20.2/perllocal.pod<br>
            TIMBRODY/SOAP-ISIWoK-3.01.tar.gz<br>
            /usr/bin/make install  -- OK<br>
          <br>
          <br>
          Any help would be more than welcome.<br>
          <br>
          Thanks again for your answers,<br>
          <br>
          George<br>
          <br>
          On 05/11/2015 05:52 μμ, <a moz-do-not-send="true"
            class="moz-txt-link-abbreviated"
            href="mailto:martin.braendle@id.uzh.ch">martin.braendle@id.uzh.ch</a>
          wrote:<br>
        </div>
        <blockquote
cite="mid:EMEW3|88cf6c53c031859349d01887a0bee660rA4FrN14eprints-tech-bounces|ecs.soton.ac.uk|OF51678C01.F3E38789-ONC1257EF4.00570565-C1257EF4.00573DBD@lotus.uzh.ch"
          type="cite">
          <p><font face="sans-serif" size="2">It might be that the
              version detection for SOAP::ISIWoK is a little bit too
              sharp. Try changing line 27 of  </font><font
              face="Menlo-Regular" size="2">perl_lib/EPrints/Plugin/Import</font><font
              face="sans-serif" size="2">/ISIWoK.pm to</font><br>
            <br>
            <font face="Menlo-Regular" size="2">if(
              !EPrints::Utils::require_if_exists( "SOAP::ISIWoK", "3" )
              )</font><br>
            <br>
            <font face="sans-serif" size="2">Best regards,</font><br>
            <br>
            <font face="sans-serif" size="2">Martin</font><br>
            <br>
            <font face="sans-serif" size="2">--</font><br>
            <font face="sans-serif" size="2">Dr. Martin Brändle</font><br>
            <font face="sans-serif" size="2">Zentrale Informatik</font><br>
            <font face="sans-serif" size="2">Universität Zürich</font><br>
            <font face="sans-serif" size="2">Stampfenbachstr. 73</font><br>
            <font face="sans-serif" size="2">CH-8006 Zürich</font><br>
            <br>
            <img src="cid:part12.08040708.00030409@eng.auth.gr"
              alt="Inactive hide details for George Mamalakis
              ---05/11/2015 16:46:30---Hello everybody, I tried to
              enable the ISI-WoK plugin on my" height="16" width="16"
              border="0"><font face="sans-serif" size="2"
              color="#424282">George Mamalakis ---05/11/2015
              16:46:30---Hello everybody, I tried to enable the ISI-WoK
              plugin on my EPrints installation (3.3.14,</font><br>
            <br>
            <font face="sans-serif" size="1" color="#5F5F5F">Von: </font><font
              face="sans-serif" size="1">George Mamalakis <a
                moz-do-not-send="true" class="moz-txt-link-rfc2396E"
                href="mailto:mamalos@eng.auth.gr"><a class="moz-txt-link-rfc2396E" href="mailto:mamalos@eng.auth.gr">&lt;mamalos@eng.auth.gr&gt;</a></a></font><br>
            <font face="sans-serif" size="1" color="#5F5F5F">An: </font><font
              face="sans-serif" size="1"><a moz-do-not-send="true"
                class="moz-txt-link-abbreviated"
                href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a></font><br>
            <font face="sans-serif" size="1" color="#5F5F5F">Datum: </font><font
              face="sans-serif" size="1">05/11/2015 16:46</font><br>
            <font face="sans-serif" size="1" color="#5F5F5F">Betreff: </font><font
              face="sans-serif" size="1">[EP-tech]  ISI WoK plugin
              configuration</font><br>
            <font face="sans-serif" size="1" color="#5F5F5F">Gesendet
              von: </font><font face="sans-serif" size="1"><a
                moz-do-not-send="true" class="moz-txt-link-abbreviated"
                href="mailto:eprints-tech-bounces@ecs.soton.ac.uk"><a class="moz-txt-link-abbreviated" href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a></a></font><br>
          </p>
          <hr style="color:#8091A5; " size="2" noshade="noshade"
            width="100%" align="left"><br>
          <br>
          <br>
          <tt><font size="2">Hello everybody,<br>
              <br>
              I tried to enable the ISI-WoK plugin on my EPrints
              installation (3.3.14, <br>
              Debian). After installing the required perl libraries, the
              import plugin <br>
              becomes accessible from the drop-down menu, but when I try
              to run a <br>
              query I am getting the following error:<br>
              <br>
              Unhandled exception in Import::ISIWoK: Plugin returned
              undef<br>
              <br>
              I assume that this is probably because I haven't done any
              configuration <br>
              (eg. a valid username, password combination) at any
              moment. So, how <br>
              should I configure it to run correctly (is there a guide
              or anything)?<br>
              <br>
              Thanks all in advance!<br>
              <br>
              George<br>
              <br>
              -- <br>
              George Mamalakis<br>
              <br>
              IT and Security Officer,<br>
              Electrical and Computer Engineer (Aristotle Univ. of
              Thessaloniki),<br>
              PhD (Aristotle Univ. of Thessaloniki),<br>
              MSc (Imperial College of London)<br>
              <br>
              School of Electrical and Computer Engineering<br>
              Aristotle University of Thessaloniki<br>
              <br>
              phone number : +30 (2310) 994379<br>
              <br>
              <br>
              *** Options: </font></tt><tt><font size="2"><a
                moz-do-not-send="true" class="moz-txt-link-freetext"
                href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech"><a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a></a></font></tt><tt><font
              size="2"><br>
              *** Archive: </font></tt><tt><font size="2"><a
                moz-do-not-send="true" class="moz-txt-link-freetext"
                href="http://www.eprints.org/tech.php/"><a class="moz-txt-link-freetext" href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a></a></font></tt><tt><font
              size="2"><br>
              *** EPrints community wiki: </font></tt><tt><font
              size="2"><a moz-do-not-send="true"
                class="moz-txt-link-freetext"
                href="http://wiki.eprints.org/">http://wiki.eprints.org/</a></font></tt><tt><font
              size="2"><br>
              *** EPrints developers Forum: </font></tt><tt><font
              size="2"><a moz-do-not-send="true"
                class="moz-txt-link-freetext"
                href="http://forum.eprints.org/">http://forum.eprints.org/</a></font></tt><tt><font
              size="2"><br>
            </font></tt><br>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre wrap="">*** Options: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://forum.eprints.org/">http://forum.eprints.org/</a>
</pre>
        </blockquote>
        <br>
        <br>
        <pre class="moz-signature" cols="72">-- 
George Mamalakis

IT and Security Officer, 
Electrical and Computer Engineer (Aristotle Univ. of Thessaloniki),
PhD (Aristotle Univ. of Thessaloniki),
MSc (Imperial College of London)

School of Electrical and Computer Engineering
Aristotle University of Thessaloniki

phone number : +30 (2310) 994379


</pre>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">*** Options: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://forum.eprints.org/">http://forum.eprints.org/</a>
</pre>
      </blockquote>
      <br>
      <br>
      <pre class="moz-signature" cols="72">-- 
George Mamalakis

IT and Security Officer, 
Electrical and Computer Engineer (Aristotle Univ. of Thessaloniki),
PhD (Aristotle Univ. of Thessaloniki),
MSc (Imperial College of London)

School of Electrical and Computer Engineering
Aristotle University of Thessaloniki

phone number : +30 (2310) 994379


</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a class="moz-txt-link-freetext" href="http://forum.eprints.org/">http://forum.eprints.org/</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
George Mamalakis

IT and Security Officer, 
Electrical and Computer Engineer (Aristotle Univ. of Thessaloniki),
PhD (Aristotle Univ. of Thessaloniki),
MSc (Imperial College of London)

School of Electrical and Computer Engineering
Aristotle University of Thessaloniki

phone number : +30 (2310) 994379


</pre>
  </body>
</html>