Add wrbuf_sha1_puts
[yaz-moved-to-github.git] / doc / soap.xml
index a2de285..c665367 100644 (file)
@@ -1,16 +1,15 @@
-<!-- $Id: soap.xml,v 1.6 2006-04-24 09:21:35 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 
+      &yaz; uses a very simple implementation of
       <ulink url="&url.soap;">SOAP</ulink> 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
       <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>
@@ -104,7 +103,7 @@ int z_soap_codec(ODR o, Z_SOAP **pp,
     </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>
@@ -155,11 +154,11 @@ int handler(ODR o, void * ptr, void **handler_data,
       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 &lt;yaz/srw.h&gt;
@@ -169,7 +168,7 @@ int yaz_srw_codec(ODR o, void * pptr,
                   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>
@@ -223,7 +222,7 @@ typedef struct {
     int * numberOfRecords;
     char * resultSetId;
     int * resultSetIdleTime;
-    
+
     Z_SRW_record *records;
     int num_records;