ExplainBinding


Click here for a complete list of operations.

ScanOperation

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>
    <scanRequest xmlns="http://www.loc.gov/zing/srw/">
      <scanClause>string</scanClause>
      <responsePosition>nonNegativeInteger</responsePosition>
      <maximumTerms>positiveInteger</maximumTerms>
      <stylesheet>anyURI</stylesheet>
      <extraRequestData>xml</extraRequestData>
    </scanRequest>
  </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>
    <scanResponse xmlns="http://www.loc.gov/zing/srw/">
      <terms>
        <term>
          <value>string</value>
          <numberOfRecords>nonNegativeInteger</numberOfRecords>
          <displayTerm>string</displayTerm>
          <whereInList>bytes</whereInList>
          <extraTermData>xml</extraTermData>
        </term>
        <term>
          <value>string</value>
          <numberOfRecords>nonNegativeInteger</numberOfRecords>
          <displayTerm>string</displayTerm>
          <whereInList>bytes</whereInList>
          <extraTermData>xml</extraTermData>
        </term>
      </terms>
      <echoedScanRequest>
        <scanClause>string</scanClause>
        <xScanClause>
          <index xmlns="http://www.loc.gov/zing/cql/xcql/">string</index>
          <relation xmlns="http://www.loc.gov/zing/cql/xcql/">
            <value>string</value>
            <modifiers xsi:nil="true" />
          </relation>
          <term xmlns="http://www.loc.gov/zing/cql/xcql/">string</term>
        </xScanClause>
        <responsePosition>nonNegativeInteger</responsePosition>
        <maximumTerms>positiveInteger</maximumTerms>
        <stylesheet>anyURI</stylesheet>
        <extraRequestData>xml</extraRequestData>
      </echoedScanRequest>
      <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>
    </scanResponse>
  </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>
    <scanRequest xmlns="http://www.loc.gov/zing/srw/">
      <scanClause>string</scanClause>
      <responsePosition>nonNegativeInteger</responsePosition>
      <maximumTerms>positiveInteger</maximumTerms>
      <stylesheet>anyURI</stylesheet>
      <extraRequestData>xml</extraRequestData>
    </scanRequest>
  </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>
    <scanResponse xmlns="http://www.loc.gov/zing/srw/">
      <terms>
        <term>
          <value>string</value>
          <numberOfRecords>nonNegativeInteger</numberOfRecords>
          <displayTerm>string</displayTerm>
          <whereInList>bytes</whereInList>
          <extraTermData>xml</extraTermData>
        </term>
        <term>
          <value>string</value>
          <numberOfRecords>nonNegativeInteger</numberOfRecords>
          <displayTerm>string</displayTerm>
          <whereInList>bytes</whereInList>
          <extraTermData>xml</extraTermData>
        </term>
      </terms>
      <echoedScanRequest>
        <scanClause>string</scanClause>
        <xScanClause>
          <index xmlns="http://www.loc.gov/zing/cql/xcql/">string</index>
          <relation xmlns="http://www.loc.gov/zing/cql/xcql/">
            <value>string</value>
            <modifiers xsi:nil="true" />
          </relation>
          <term xmlns="http://www.loc.gov/zing/cql/xcql/">string</term>
        </xScanClause>
        <responsePosition>nonNegativeInteger</responsePosition>
        <maximumTerms>positiveInteger</maximumTerms>
        <stylesheet>anyURI</stylesheet>
        <extraRequestData>xml</extraRequestData>
      </echoedScanRequest>
      <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>
    </scanResponse>
  </soap12:Body>
</soap12:Envelope>