-<!-- $Id: soap.xml,v 1.5 2003-11-19 22:05:15 adam Exp $ -->
-<chapter id="soap"><title>SOAP and SRW</title>
+<chapter id="soap"><title>SOAP and SRU</title>
<sect1 id="soap.introduction"><title>Introduction</title>
<para>
- &yaz; uses a very simple implementation of
- <ulink url="http://www.w3.org/TR/SOAP/">SOAP</ulink> that only,
- currenly, supports what is sufficient to offer SRW functionality.
- The implementation uses the
- <ulink url="http://www.xmlsoft.org/html/libxml-tree.html">tree
- API</ulink> of libxml2 to encode and decode SOAP packages.
+ &yaz; uses a very simple implementation of
+ <ulink url="&url.soap;">SOAP</ulink> that only,
+ currenly, supports what is sufficient to offer SRU SOAP functionality.
+ The implementation uses the
+ <ulink url="&url.libxml2.api.tree;">tree API</ulink> of
+ libxml2 to encode and decode SOAP packages.
</para>
<para>
- 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.
</para>
</para>
<para>
The <literal>handlers</literal> 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 <literal>http://www.loc.gov/zing/srw/v1.0/</literal>.
</para>
<para>
Finally, <parameter>ns</parameter> the service namespace.
</para>
</sect1>
- <sect1 id="soap.srw"><title>SRW</title>
+ <sect1 id="soap.srw"><title>SRU</title>
<para>
- 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:
<synopsis>
#include <yaz/srw.h>
void *client_data, const char *ns);
</synopsis>
Here, <literal>Z_SRW_GDU</literal> is either
- searchRetrieveRequest or a searchRetrieveResponse.
+ searchRetrieveRequest or a searchRetrieveResponse.
</para>
<note>
<para>
int * numberOfRecords;
char * resultSetId;
int * resultSetIdleTime;
-
+
Z_SRW_record *records;
int num_records;