1 YAZ proxy - A Z39.50/SRW/SRU proxy.
3 $Id: README,v 1.2 2004-04-11 11:58:34 adam Exp $
8 The proxy application and development library is covered by the
9 GPL - see LICENSE.proxy for details.
14 The "doc" directory contains documentation in HTML and PDF.
15 You can also read it online at http://www.indexdata.dk/yazproxy/
20 YAZ proxy builds a programmers' library libyazproxy.lib and the
23 Directory structure of the YAZ++ package:
25 -- src (YAZ proxy library and application)
26 -- include/yazproxy (C++ headers for proxy)
27 -- lib (compiled libraries)
28 -- win (Windows build files)
29 -- doc (DocBook-format documentation)
30 -- etc (Proxy config + XSLT files)
35 For the proxy the actual target is determined in by the OtherInfo
36 part of the InitRequest. We've defined an OID for this which we call
37 PROXY. The OID is 1.2.840.10003.10.1000.81.1.
39 OtherInformation ::= [201] IMPLICIT SEQUENCE OF SEQUENCE{
40 category [1] IMPLICIT InfoCategory OPTIONAL,
42 characterInfo [2] IMPLICIT InternationalString,
43 binaryInfo [3] IMPLICIT OCTET STRING,
44 externallyDefinedInfo [4] IMPLICIT EXTERNAL,
45 oid [5] IMPLICIT OBJECT IDENTIFIER}}
47 InfoCategory ::= SEQUENCE{
48 categoryTypeId [1] IMPLICIT OBJECT IDENTIFIER OPTIONAL,
49 categoryValue [2] IMPLICIT INTEGER}
51 The InfoCategory is present with categoryTypeId set to the PROXY OID
52 and categoryValue set to 0. The information in OtherInformation uses
53 characterInfo to represent the target using the form target[:port][/db].
55 For clients that don't set the PROXY OtherInformation, a default
56 target can be specified using option -t for proxy.
59 We start the proxy so that it listens on port 9000. The default
60 target is Bell Labs Library unless it is overridden by a client in
63 $ ./yaz-proxy -t z3950.bell-labs.com/books @:9000
65 The client is started and talks to the proxy without specifying
66 a target. Hence this client will talk to the Bell Labs server.
68 $ ./yaz-client localhost:9000
70 The client is started and it specifies the actual target itself.
72 $ ./yaz-client -p localhost:9000 bagel.indexdata.dk/gils
74 For ZAP the equivalent would be
76 target=bagel.indexdata.dk/gils