ExplainBinding


Click here for a complete list of operations.

SearchRetrieveOperation

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /SRUWebS.asmx HTTP/1.1
Host: srusrw.lingonline.jonkoping.se
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: ""

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <searchRetrieveRequest xmlns="http://www.loc.gov/zing/srw/">
      <query>string</query>
      <startRecord>positiveInteger</startRecord>
      <maximumRecords>nonNegativeInteger</maximumRecords>
      <recordPacking>string</recordPacking>
      <recordSchema>string</recordSchema>
      <recordXPath>string</recordXPath>
      <resultSetTTL>nonNegativeInteger</resultSetTTL>
      <sortKeys>string</sortKeys>
      <stylesheet>anyURI</stylesheet>
      <extraRequestData>xml</extraRequestData>
    </searchRetrieveRequest>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <searchRetrieveResponse xmlns="http://www.loc.gov/zing/srw/">
      <numberOfRecords>nonNegativeInteger</numberOfRecords>
      <resultSetId>string</resultSetId>
      <resultSetIdleTime>positiveInteger</resultSetIdleTime>
      <records>
        <record>
          <recordSchema>string</recordSchema>
          <recordPacking>string</recordPacking>
          <recordData>xml</recordData>
          <recordPosition>positiveInteger</recordPosition>
          <extraRecordData>xml</extraRecordData>
        </record>
        <record>
          <recordSchema>string</recordSchema>
          <recordPacking>string</recordPacking>
          <recordData>xml</recordData>
          <recordPosition>positiveInteger</recordPosition>
          <extraRecordData>xml</extraRecordData>
        </record>
      </records>
      <nextRecordPosition>positiveInteger</nextRecordPosition>
      <echoedSearchRetrieveRequest>
        <query>string</query>
        <xQuery>
          <prefixes xmlns="http://www.loc.gov/zing/cql/xcql/">
            <prefix xsi:nil="true" />
            <prefix xsi:nil="true" />
          </prefixes>
        </xQuery>
        <startRecord>positiveInteger</startRecord>
        <maximumRecords>nonNegativeInteger</maximumRecords>
        <recordPacking>string</recordPacking>
        <recordSchema>string</recordSchema>
        <recordXPath>string</recordXPath>
        <resultSetTTL>nonNegativeInteger</resultSetTTL>
        <sortKeys>string</sortKeys>
        <xSortKeys>
          <sortKey>
            <path>string</path>
            <schema>string</schema>
            <ascending>boolean</ascending>
            <caseSensitive>boolean</caseSensitive>
            <missingValue>string</missingValue>
          </sortKey>
          <sortKey>
            <path>string</path>
            <schema>string</schema>
            <ascending>boolean</ascending>
            <caseSensitive>boolean</caseSensitive>
            <missingValue>string</missingValue>
          </sortKey>
        </xSortKeys>
        <stylesheet>anyURI</stylesheet>
        <extraRequestData>xml</extraRequestData>
      </echoedSearchRetrieveRequest>
      <diagnostics>
        <diagnostic xmlns="http://www.loc.gov/zing/srw/diagnostic/">
          <uri>anyURI</uri>
          <details>string</details>
          <message>string</message>
        </diagnostic>
        <diagnostic xmlns="http://www.loc.gov/zing/srw/diagnostic/">
          <uri>anyURI</uri>
          <details>string</details>
          <message>string</message>
        </diagnostic>
      </diagnostics>
      <extraResponseData>xml</extraResponseData>
    </searchRetrieveResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /SRUWebS.asmx HTTP/1.1
Host: srusrw.lingonline.jonkoping.se
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <searchRetrieveRequest xmlns="http://www.loc.gov/zing/srw/">
      <query>string</query>
      <startRecord>positiveInteger</startRecord>
      <maximumRecords>nonNegativeInteger</maximumRecords>
      <recordPacking>string</recordPacking>
      <recordSchema>string</recordSchema>
      <recordXPath>string</recordXPath>
      <resultSetTTL>nonNegativeInteger</resultSetTTL>
      <sortKeys>string</sortKeys>
      <stylesheet>anyURI</stylesheet>
      <extraRequestData>xml</extraRequestData>
    </searchRetrieveRequest>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <searchRetrieveResponse xmlns="http://www.loc.gov/zing/srw/">
      <numberOfRecords>nonNegativeInteger</numberOfRecords>
      <resultSetId>string</resultSetId>
      <resultSetIdleTime>positiveInteger</resultSetIdleTime>
      <records>
        <record>
          <recordSchema>string</recordSchema>
          <recordPacking>string</recordPacking>
          <recordData>xml</recordData>
          <recordPosition>positiveInteger</recordPosition>
          <extraRecordData>xml</extraRecordData>
        </record>
        <record>
          <recordSchema>string</recordSchema>
          <recordPacking>string</recordPacking>
          <recordData>xml</recordData>
          <recordPosition>positiveInteger</recordPosition>
          <extraRecordData>xml</extraRecordData>
        </record>
      </records>
      <nextRecordPosition>positiveInteger</nextRecordPosition>
      <echoedSearchRetrieveRequest>
        <query>string</query>
        <xQuery>
          <prefixes xmlns="http://www.loc.gov/zing/cql/xcql/">
            <prefix xsi:nil="true" />
            <prefix xsi:nil="true" />
          </prefixes>
        </xQuery>
        <startRecord>positiveInteger</startRecord>
        <maximumRecords>nonNegativeInteger</maximumRecords>
        <recordPacking>string</recordPacking>
        <recordSchema>string</recordSchema>
        <recordXPath>string</recordXPath>
        <resultSetTTL>nonNegativeInteger</resultSetTTL>
        <sortKeys>string</sortKeys>
        <xSortKeys>
          <sortKey>
            <path>string</path>
            <schema>string</schema>
            <ascending>boolean</ascending>
            <caseSensitive>boolean</caseSensitive>
            <missingValue>string</missingValue>
          </sortKey>
          <sortKey>
            <path>string</path>
            <schema>string</schema>
            <ascending>boolean</ascending>
            <caseSensitive>boolean</caseSensitive>
            <missingValue>string</missingValue>
          </sortKey>
        </xSortKeys>
        <stylesheet>anyURI</stylesheet>
        <extraRequestData>xml</extraRequestData>
      </echoedSearchRetrieveRequest>
      <diagnostics>
        <diagnostic xmlns="http://www.loc.gov/zing/srw/diagnostic/">
          <uri>anyURI</uri>
          <details>string</details>
          <message>string</message>
        </diagnostic>
        <diagnostic xmlns="http://www.loc.gov/zing/srw/diagnostic/">
          <uri>anyURI</uri>
          <details>string</details>
          <message>string</message>
        </diagnostic>
      </diagnostics>
      <extraResponseData>xml</extraResponseData>
    </searchRetrieveResponse>
  </soap12:Body>
</soap12:Envelope>