On Fri, May 10, 2002 at 11:06:32AM -0400, Ray Denenberg wrote:
> Could someone please send me xml records,
> instances of srw requests and responses, including
> the soap envelopes. I'd like to put some up as
> examples, on the web site here. Thanks. --Ray
Here is a wire dump of what my client and server generate. I pretty
printed by hand to get nice indentation. It may contain errors of
course, and the WSDL file probably needs review to make sure its
standard etc (I might have done some tweaks sorry - its been a while
since I mucked around at this level). It still has some response
schema stuff in it for example, which may be obsolete now.
Alan
HTTP REQUEST:
POST /z3950.simdb.com/OAI-Data HTTP/1.1
SOAPAction: ""
Content-Type: text/xml; charset=UTF-8
Content-Length: 623
User-Agent: SIM Soap Client 0.01
Host: z3950.simdb.com:6745
<?xml version="1.0"?>
<SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:searchRetrieve xmlns:m="urn:z3950:ZiNG:P1:Service">
<query xsi:type="xsd:string">the</query>
<startRecord xsi:type="xsd:int">1</startRecord>
<maximumRecords xsi:type="xsd:int">1</maximumRecords>
<recordSchema xsi:nil="true"/>
</m:searchRetrieve>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP RESPONSE:
HTTP/1.1 200
Accept-Ranges: bytes
Content-Length: 2147
Content-Type: text/xml
Date: Tue, 14 May 2002 23:17:42 GMT
Server: simwebs/3.2.2
<?xml version="1.0"?>
<SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="urn:z3950:ZiNG:P1:ResponseSchema1"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:searchRetrieveResponse xmlns:m="urn:z3950:ZiNG:P1:Service">
<return xsi:type="ns1:searchRetrieveResponse">
<resultSetReference xsi:type="ns1:resultSetReference">
<resultSetName xsi:type="xsd:string">default</resultSetName>
<resultSetTTL xsi:type="xsd:duration">P0DT00H05M00S</resultSetTTL>
</resultSetReference>
<totalHits xsi:type="xsd:int">347302</totalHits>
<records xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="ns1:record[1]">
<record xsi:type="ns1:record">
<schema xsi:type="xsd:string">XML</schema>
<recordData xsi:type="xsd:string"><?xml version="1.0"?>
<dc xsi:schemaLocation="http://purl.org/dc/elements/1.1/ http://www.openarchives.org/OAI/dc.xsd" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" xmlns="http://purl.org/dc/elements/1.1/"><creator>Jurman, G.</creator>
<description>We describe the isomorphism classes of infinite-dimensional N -graded Lie algebras of maximal class generated by their first homogeneous component over fields of charac-teristic two. This complements the analogous work by Caranti and Newman in the odd characteristic case.</description>
<title>Graded Lie Algebras of Maximal Class, III</title>
<date>2001-01-01</date>
<subject>Physical Sciences &#38; Mathematics: Mathematics</subject>
<identifier>http://eprints.anu.edu.au/documents/disk0/00/00/00/34/index.html</identifier>
<type>Preprint</type></dc></recordData>
</record>
</records>
<status xsi:type="ns1:status">
<statusCode xsi:type="xsd:int">0</statusCode>
<diagnostic xsi:nil="true"/>
</status>
</return>
</m:searchRetrieveResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
|