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

Andrew George ageorge at carl.org
Thu May 22 00:21:46 CEST 2008


Hello,

 

We're trying to use the ZOOM toolkit to send an update holdings request to
an OCLC database.

We think we successfully connect to the test site, but we receive the
following error message:

 

"Zgate-test.oclc.org:7210 iError: Decoding failed (10003) ODR code 4:53
element =                        "

 

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?

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

- Is the order of the field important?

 

 

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

Here is the structure we are sending in our request:

 

ES Struct: PyZ3950.asn1.ExtendedServicesRequest [

     'function' 1

     'packageName' 'Extended Service Update'

     'packageType' OID: 1 2 840 10003 9 5 1 1

     'taskSpecificParameters' Struct: PyZ3950.asn1.EXTERNAL [

         'direct_reference' OID: 1 2 840 10003 9 5 1 1

         'encoding' (

             'single-ASN1-type', (

                 'esRequest', Struct: PyZ3950.asn1.seq_class_66 [

                     'notToKeep' [

                         Struct: PyZ3950.asn1.seq_class_65 [

                             'record' Struct: PyZ3950.asn1.EXTERNAL [

                                 'direct_reference' OID: 1 2 840 10003 5 109
10

                                 'encoding' ('octet-aligned', 'ocm04854956
')

                             ]

                         ]

                     ]

                     'toKeep' Struct: PyZ3950.asn1.OriginPartToKeep_updrev1
[

                         'action' 4

                         'databaseName' 'OCLCHPB'

                     ]

                 ]

             )

         )

     ]

 

     'userId' '100028254'

     'waitAction' 1

]

 

Thanks,

 

Andy George, Sam Reynolds

The Library Corporation

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.indexdata.dk/pipermail/zoom/attachments/20080521/2ed406b1/attachment.htm 


More information about the ZOOM mailing list