Registry


Click here for a complete list of operations.

QueryOAIDC

Returns OAI_DC: Input WHERE predicate for SQL Query like e.g. maxSearchRadius > 1 and ResourceType like 'CONE'

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
predicate:

SOAP

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

POST /voregistry/registry.asmx HTTP/1.1
Host: nvo.stsci.edu
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.us-vo.org/QueryOAIDC"

<?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>
    <QueryOAIDC xmlns="http://www.us-vo.org">
      <predicate>string</predicate>
    </QueryOAIDC>
  </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>
    <QueryOAIDCResponse xmlns="http://www.us-vo.org">
      <QueryOAIDCResult>
        <oai_dcType />
        <oai_dcType />
      </QueryOAIDCResult>
    </QueryOAIDCResponse>
  </soap:Body>
</soap:Envelope>

HTTP GET

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

GET /voregistry/registry.asmx/QueryOAIDC?predicate=string HTTP/1.1
Host: nvo.stsci.edu
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfOai_dcType xmlns="http://www.us-vo.org">
  <oai_dcType />
  <oai_dcType />
</ArrayOfOai_dcType>

HTTP POST

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

POST /voregistry/registry.asmx/QueryOAIDC HTTP/1.1
Host: nvo.stsci.edu
Content-Type: application/x-www-form-urlencoded
Content-Length: length

predicate=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfOai_dcType xmlns="http://www.us-vo.org">
  <oai_dcType />
  <oai_dcType />
</ArrayOfOai_dcType>