[ZOOM] Has anyone used ZOOM to send an update holdings request to OCLC.

Mike Taylor mike at indexdata.com
Thu May 22 13:51:04 CEST 2008


Andrew George writes:
 > Hello,
 > 
 > We're trying to use the ZOOM toolkit to send an update holdings request to
 > an OCLC database.

Hi, Andrew.  To the best of my knowledge, no-one's tried that before.
So I'll be interested to know how it goes.

 > We think we successfully connect to the test site [...]

You can search, and suchlike?

 > [...] but we receive the following error message:
 > 
 > "Zgate-test.oclc.org:7210 iError: Decoding failed (10003) ODR code
 > 4:53 element = "

OK.  So YAZ is encoding the update PDU in a way that OCLC doesn't
like.  The question is whether YAZ is at fault for encoding it
wrongly, or OCLC is at fault for failure to decode a correctly encoded
APDU.

 > We believe we are matching the schema as described in the ANSI/NISO
 > Z39.50-2003 standard.
 > 
 > It looks like the parser doesn't like our format.
 > 
 > - What are we missing in our format?

Don't know -- I don't have time to look closely at what you're doing
here

 > - Are there any known issues with using the ZOOM toolkit to make
 > these updates?

No, but then ZOOM update has not been very widely used so it's
possible that there are bugs which our own applications haven't
tickled.

 > - Is the order of the field important?

Probably.

 > Our main problem has been the paucity of documentation and lack of
 > examples.

Which in turn is due to the lack of prior art.

 > Here is the structure we are sending in our request:
 > 
 > ES Struct: PyZ3950.asn1.ExtendedServicesRequest [

Oooohhhhh ...

So you're not using YAZ at all!  OK, you have a non-YAZ client
(PyZ3950) talking to a non-YAZ server (OCLC) ... *whew*, we're in the
clear :-)  Seriously, one or other is at fault -- you could try using
ziffy the packet sniffer to determine which.

 _/|_	 ___________________________________________________________________
/o ) \/  Mike Taylor    <mike at indexdata.com>    http://www.miketaylor.org.uk
)_v__/\  "The lyf so short, the craft so long to lerne" -- Chaucer.




More information about the ZOOM mailing list
http://lists.indexdata.dk/pipermail/zoom/2008-May/000857.html
lists.indexdata.dk
crawl=CC-MAIN-2022-05
5099
application/http; msgtype=response
sha1:PGZCG235WR4H5C4TMPVYUILJ6YVMOTCN
<urn:uuid:ab891932-0569-47c2-8fe6-f63b5d1ac7fb>
2022-01-18T12:53:48Z
144.76.181.244
text/html
sha1:IUGJFUS6YEWZD5LHQJ6YNDQ27OUDQH3I
<urn:uuid:45e70ff2-e0b4-4257-b0b9-d45246256c9e>
http://lists.indexdata.dk/pipermail/zoom/2008-May/000857.html
response
<urn:uuid:dd1e2572-3f3f-4f15-984f-95661e2a723f>
isPartOf: CC-MAIN-2022-05
publisher: Common Crawl
description: Wide crawl of the web for January 2022
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-169
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.3-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/