I was sitting down to write some sample SOAP queries and responses and
going over the WSDL on the website, I came up with the following
issues:
1. AuthenticationToken is deprecated, but still in the WSDL.
2. The <records> definition does not allow for surrogate diagnostics?
It should be a sequence of <record> or <diagnostic> right, rather than
a sequence of just <record>?
3. XCQL doesn't seemed to be defined as far as its structure goes in terms
of a Schema?
Otherwise, is the following representative of what SRW query and response
should look like? And what should the xsi:type for each non atomic
element be?
Request:
<searchRetrieveRequest>
<query>
<xcql>
<triple>
<searchClause>
<index>dc.title</index>
<relation>=</relation>
<term>cat</term>
</searchClause>
<boolean>and</boolean>
<searchClause>
<index>dc.title</index>
<relation>=</relation>
<term>hat</term>
</searchClause>
</triple>
</xcql>
</query>
<sort>
<sortKey>
<schema>DC</schema>
<path>/description</path>
<caseSensitive>FALSE</caseSensitive>
<ascending>TRUE</caseSensitive>
<missingValue>HiValue</missingValue>
</sortKey>
</sort>
<startRecord>1</startRecord>
<maximumRecords>10</maximumRecords>
<recordSchema>DC</recordSchema>
</searchRetrieveRequest>
Response:
<searchRetrieveResponse>
<numberOfRecords>1</numberOfRecords>
<resultSetId>CATHATSEARCH1</resultSetId>
<rsIdleTime>600</rsIdleTime>
<records>
<record>
<recordSchema>DC</recordSchema>
<recordData>
<dc:title>The Cat in the Hat</dc:title>
<dc:creator>Dr Seuss</dc:creator>
<dc:description>
A children's book about a cat with a top hat
</dc:description>
</recordData>
</record>
</records>
<diagnostics>
<diagnostic>
<code>6</code>
<details>Too Many Boolean Operators</details>
</diagnostic>
</diagnostics>
</searchRetrieveResponse>
Rob
--
,'/:. Rob Sanderson ([log in to unmask])
,'-/::::. http://www.o-r-g.org/~azaroth/
,'--/::(@)::. Special Collections and Archives, extension 3142
,'---/::::::::::. Twin Cathedrals: telnet: liverpool.o-r-g.org 7777
____/:::::::::::::. WWW: http://liverpool.o-r-g.org:8000/
I L L U M I N A T I
|