X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=doc%2Fsoap.xml;h=c665367aefdace831944751af099482af67791ab;hp=a2de285ea62fc314e1fba0862e24c10cfb0cb405;hb=053367cbe356fb3ce0def34b065dae589d700daf;hpb=4641562b204d07a8fca9e1fa94c86593766fa165 diff --git a/doc/soap.xml b/doc/soap.xml index a2de285..c665367 100644 --- a/doc/soap.xml +++ b/doc/soap.xml @@ -1,16 +1,15 @@ - -SOAP and SRW +SOAP and SRU Introduction - &yaz; uses a very simple implementation of + &yaz; uses a very simple implementation of SOAP that only, - currenly, supports what is sufficient to offer SRW functionality. - The implementation uses the + currenly, supports what is sufficient to offer SRU SOAP functionality. + The implementation uses the tree API of libxml2 to encode and decode SOAP packages. - Like the Z39.50 ASN.1 module, the &yaz; SRW implementation uses + Like the Z39.50 ASN.1 module, the &yaz; SRU implementation uses simple C structs to represent SOAP packages as well as HTTP packages. @@ -104,7 +103,7 @@ int z_soap_codec(ODR o, Z_SOAP **pp, The handlers is a list of SOAP codec - handlers - one handler for each service namespace. For SRW, the + handlers - one handler for each service namespace. For SRU SOAP, the namespace would be http://www.loc.gov/zing/srw/v1.0/. @@ -155,11 +154,11 @@ int handler(ODR o, void * ptr, void **handler_data, Finally, ns the service namespace. - SRW + SRU - SRW is just one implementation of a SOAP handler as described + SRU SOAP is just one implementation of a SOAP handler as described in the previous section. - The encoder/decoder handler for SRW is defined as + The encoder/decoder handler for SRU is defined as follows: #include <yaz/srw.h> @@ -169,7 +168,7 @@ int yaz_srw_codec(ODR o, void * pptr, void *client_data, const char *ns); Here, Z_SRW_GDU is either - searchRetrieveRequest or a searchRetrieveResponse. + searchRetrieveRequest or a searchRetrieveResponse. @@ -223,7 +222,7 @@ typedef struct { int * numberOfRecords; char * resultSetId; int * resultSetIdleTime; - + Z_SRW_record *records; int num_records;