X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fclient.xml;h=266bf16cdd0d0c0f79c49731130e4c4bd253c844;hb=a54c709b3e2feff5762bfa7dfa8ee653b429d369;hp=0760a4b3da6a938cbbd63eee77756dae0b31206e;hpb=94fce64abe00f0334941ca270c8898bdabb0ca7c;p=yaz-moved-to-github.git diff --git a/doc/client.xml b/doc/client.xml index 0760a4b..266bf16 100644 --- a/doc/client.xml +++ b/doc/client.xml @@ -1,9 +1,9 @@ - + The YAZ client Introduction - yaz-client is a line-mode Z39.50 client. It supports a fair amount - of the functionality of the Z39.50-1995 standard + yaz-client is a line-mode Z39.50/SRW client. It supports a fair amount + of the functionality of the Z39.50v3 standard. Its primary purpose is to exercise the package, and verify that the protocol works OK. For the same reason some commands offers more functionality than others. @@ -30,8 +30,10 @@ in a UNIX shell / WIN32 console. The zurl, - specifies a Z39.50 host and, if specified, the client first tries to - establish connection with the Z39.50 target on the host. + specifies a Z39.50/SRW host and, if specified, the client first tries to + establish connection with the Z39.50/SRW target. + + Options are prefixed by - followed by a particular letter. @@ -112,26 +114,33 @@ In order to connect to Index Data's test Z39.50 server on bagel.indexdata.dk, port 210 and with the - database name marc, one would have to type + database name marc, one could type + + yaz-client bagel.indexdata.dk:210/marc + + + + The same server is also a SOAP SRW service. Connect to it via HTTP + as follows: + + yaz-client http://bagel.indexdata.dk:210/marc + - - yaz-client bagel.indexdata.dk:210/marc - In order to enable APDU log and connect to localhost, port 210 (default) and database Default (default) you'd write: - - - yaz-client -a - localhost - + + yaz-client -a - localhost + + The following command connects to a local server via UNIX socket /tmp/yaz and sets maximum message size to 5 MB. - yaz-client -k 5120 unix:/tmp/yaz - + + Commands