[OAI-implementers] Bad resumptionToken, implementation of it, or user error?

Simeon Warner simeon@cs.cornell.edu
Wed, 18 Dec 2002 09:55:51 -0500 (EST)


resumptionToken is no a verb, it is an exclusive argument for 
ListIdentifiers or ListRecords. Your request should look something 
like:

GET baseURL?verb=ListRecords&resumptionToken=APPROPRIATELY_ENCODED_RT_HERE

where APPROPRIATELY_ENCODED_RT_HERE is the URL-encoded resumptionToken.

As far as I can see, this site works fine:

oaiharvest.pl: Harvest from http://services.nsdl.org:8080/nsdloai/OAI using GET
OAIGet: Doing GET to http://services.nsdl.org:8080/nsdloai/OAI args: verb=Identify
OAIGet: Got 200 OK (1249bytes )
oaiharvest.pl: Identify reports OAI-PMH version 2.0
oaiharvest.pl: Doing complete harvest.
OAIGet: Doing GET to http://services.nsdl.org:8080/nsdloai/OAI args: verb=ListMetadataFormats
OAIGet: Got 200 OK (1455bytes )
OAIGet: Doing GET to http://services.nsdl.org:8080/nsdloai/OAI args: verb=ListSets
OAIGet: Got 200 OK (11405bytes )
OAIGet: Doing GET to http://services.nsdl.org:8080/nsdloai/OAI args: metadataPrefix=oai_dc&verb=ListRecords
OAIGet: Got 200 OK (1044772bytes )
oaiharvest.pl: Got 250 records (running total: 250)
oaiharvest.pl: Got resumptionToken: `metadataPrefix=oai_dc&origRequestTime=2002-12-18T14:52:25Z&expireOnUpdate=false&resumeAfter=oai:nsdl.org:Alexandria:O3311517.SWS'
OAIGet: Doing GET to http://services.nsdl.org:8080/nsdloai/OAI args: resumptionToken=metadataPrefix%3Doai_dc%26origRequestTime%3D2002-12-18T14%3A52%3A25Z%26expireOnUpdate%3Dfalse%26resumeAfter%3Doai%3Ansdl.org%3AAlexandria%3AO3311517.SWS&verb=ListRecords
OAIGet: Got 200 OK (1055218bytes )
oaiharvest.pl: Got 250 records (running total: 500)
...

Cheers,
Simeon.


On Wed, 18 Dec 2002, Thor Anderson wrote:
>  Hi,
> 
> I've been trying out the OAI 2.0 protocol on the NSDL repository at http://services.nsdl.org:8080/nsdloai/OAI  When I send the following request "http://services.nsdl.org:8080/nsdloai/OAI?verb=ListRecords&from=2002-01-01&metadataPrefix=oai_dc" 
> I get back an imcomplete list of 250 records and the following resumption token 
> "from=2002-01-01&metadataPrefix=oai_dc&origRequestTime=2002-12-16T19:43:00Z&
expireOnUpdate=false&resumeAfter=oai:nsdl.org:Alexandria:O3311517.SWS"
> 
> When I try to use the resumptionToken verb and give it this token 
> (whether encoded or not), I get "resumptionToken is not a legal OAI-PMH 
> 2.0 verb." which seems untrue based upon the OAI protocol document I'm 
> reading.  I can't tell whether that is really an illegal verb or the 
> NSDL implementation is wrong or I'm not using the resumptionToken verb 
> properly.
> 
> Any help would be greatly appreciated.
> 
> Thor Anderson
> 
> 
> _______________________________________________ OAI-implementers mailing list OAI-implementers@oaisrv.nsdl.cornell.edu
> http://oaisrv.nsdl.cornell.edu/mailman/listinfo/oai-implementers
>