Registry
Click here for a complete list of operations.
QueryRegistry
Returns SimpleResource (backward compatibility for DATASCOPE): 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.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/QueryRegistry"
<?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>
<QueryRegistry xmlns="http://www.us-vo.org">
<predicate>string</predicate>
</QueryRegistry>
</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>
<QueryRegistryResponse xmlns="http://www.us-vo.org">
<QueryRegistryResult>
<SimpleResource>
<Title>string</Title>
<ShortName>string</ShortName>
<Publisher>string</Publisher>
<Creator>string</Creator>
<Subject>
<string>string</string>
<string>string</string>
</Subject>
<Description>string</Description>
<Contributor>string</Contributor>
<Date>dateTime</Date>
<Version>string</Version>
<Identifier>string</Identifier>
<ReferenceURL>string</ReferenceURL>
<ServiceURL>string</ServiceURL>
<ContactName>string</ContactName>
<ContactEmail>string</ContactEmail>
<Type>string</Type>
<CoverageSpatial>string</CoverageSpatial>
<CoverageSpectral>
<string>string</string>
<string>string</string>
</CoverageSpectral>
<CoverageTemporal>string</CoverageTemporal>
<EntrySize>double</EntrySize>
<MaxSR>double</MaxSR>
<MaxRecords>int</MaxRecords>
<ContentLevel>
<string>string</string>
<string>string</string>
</ContentLevel>
<Facility>string</Facility>
<Instrument>
<string>string</string>
<string>string</string>
</Instrument>
<Format>
<string>string</string>
<string>string</string>
</Format>
<ServiceType>string</ServiceType>
<xml>string</xml>
<validationLevel>int</validationLevel>
</SimpleResource>
<SimpleResource>
<Title>string</Title>
<ShortName>string</ShortName>
<Publisher>string</Publisher>
<Creator>string</Creator>
<Subject>
<string>string</string>
<string>string</string>
</Subject>
<Description>string</Description>
<Contributor>string</Contributor>
<Date>dateTime</Date>
<Version>string</Version>
<Identifier>string</Identifier>
<ReferenceURL>string</ReferenceURL>
<ServiceURL>string</ServiceURL>
<ContactName>string</ContactName>
<ContactEmail>string</ContactEmail>
<Type>string</Type>
<CoverageSpatial>string</CoverageSpatial>
<CoverageSpectral>
<string>string</string>
<string>string</string>
</CoverageSpectral>
<CoverageTemporal>string</CoverageTemporal>
<EntrySize>double</EntrySize>
<MaxSR>double</MaxSR>
<MaxRecords>int</MaxRecords>
<ContentLevel>
<string>string</string>
<string>string</string>
</ContentLevel>
<Facility>string</Facility>
<Instrument>
<string>string</string>
<string>string</string>
</Instrument>
<Format>
<string>string</string>
<string>string</string>
</Format>
<ServiceType>string</ServiceType>
<xml>string</xml>
<validationLevel>int</validationLevel>
</SimpleResource>
</QueryRegistryResult>
</QueryRegistryResponse>
</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/QueryRegistry?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"?>
<ArrayOfSimpleResource xmlns="http://www.us-vo.org">
<SimpleResource>
<Title>string</Title>
<ShortName>string</ShortName>
<Publisher>string</Publisher>
<Creator>string</Creator>
<Subject>
<string>string</string>
<string>string</string>
</Subject>
<Description>string</Description>
<Contributor>string</Contributor>
<Date>dateTime</Date>
<Version>string</Version>
<Identifier>string</Identifier>
<ReferenceURL>string</ReferenceURL>
<ServiceURL>string</ServiceURL>
<ContactName>string</ContactName>
<ContactEmail>string</ContactEmail>
<Type>string</Type>
<CoverageSpatial>string</CoverageSpatial>
<CoverageSpectral>
<string>string</string>
<string>string</string>
</CoverageSpectral>
<CoverageTemporal>string</CoverageTemporal>
<EntrySize>double</EntrySize>
<MaxSR>double</MaxSR>
<MaxRecords>int</MaxRecords>
<ContentLevel>
<string>string</string>
<string>string</string>
</ContentLevel>
<Facility>string</Facility>
<Instrument>
<string>string</string>
<string>string</string>
</Instrument>
<Format>
<string>string</string>
<string>string</string>
</Format>
<ServiceType>string</ServiceType>
<xml>string</xml>
<validationLevel>int</validationLevel>
</SimpleResource>
<SimpleResource>
<Title>string</Title>
<ShortName>string</ShortName>
<Publisher>string</Publisher>
<Creator>string</Creator>
<Subject>
<string>string</string>
<string>string</string>
</Subject>
<Description>string</Description>
<Contributor>string</Contributor>
<Date>dateTime</Date>
<Version>string</Version>
<Identifier>string</Identifier>
<ReferenceURL>string</ReferenceURL>
<ServiceURL>string</ServiceURL>
<ContactName>string</ContactName>
<ContactEmail>string</ContactEmail>
<Type>string</Type>
<CoverageSpatial>string</CoverageSpatial>
<CoverageSpectral>
<string>string</string>
<string>string</string>
</CoverageSpectral>
<CoverageTemporal>string</CoverageTemporal>
<EntrySize>double</EntrySize>
<MaxSR>double</MaxSR>
<MaxRecords>int</MaxRecords>
<ContentLevel>
<string>string</string>
<string>string</string>
</ContentLevel>
<Facility>string</Facility>
<Instrument>
<string>string</string>
<string>string</string>
</Instrument>
<Format>
<string>string</string>
<string>string</string>
</Format>
<ServiceType>string</ServiceType>
<xml>string</xml>
<validationLevel>int</validationLevel>
</SimpleResource>
</ArrayOfSimpleResource>
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/QueryRegistry 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"?>
<ArrayOfSimpleResource xmlns="http://www.us-vo.org">
<SimpleResource>
<Title>string</Title>
<ShortName>string</ShortName>
<Publisher>string</Publisher>
<Creator>string</Creator>
<Subject>
<string>string</string>
<string>string</string>
</Subject>
<Description>string</Description>
<Contributor>string</Contributor>
<Date>dateTime</Date>
<Version>string</Version>
<Identifier>string</Identifier>
<ReferenceURL>string</ReferenceURL>
<ServiceURL>string</ServiceURL>
<ContactName>string</ContactName>
<ContactEmail>string</ContactEmail>
<Type>string</Type>
<CoverageSpatial>string</CoverageSpatial>
<CoverageSpectral>
<string>string</string>
<string>string</string>
</CoverageSpectral>
<CoverageTemporal>string</CoverageTemporal>
<EntrySize>double</EntrySize>
<MaxSR>double</MaxSR>
<MaxRecords>int</MaxRecords>
<ContentLevel>
<string>string</string>
<string>string</string>
</ContentLevel>
<Facility>string</Facility>
<Instrument>
<string>string</string>
<string>string</string>
</Instrument>
<Format>
<string>string</string>
<string>string</string>
</Format>
<ServiceType>string</ServiceType>
<xml>string</xml>
<validationLevel>int</validationLevel>
</SimpleResource>
<SimpleResource>
<Title>string</Title>
<ShortName>string</ShortName>
<Publisher>string</Publisher>
<Creator>string</Creator>
<Subject>
<string>string</string>
<string>string</string>
</Subject>
<Description>string</Description>
<Contributor>string</Contributor>
<Date>dateTime</Date>
<Version>string</Version>
<Identifier>string</Identifier>
<ReferenceURL>string</ReferenceURL>
<ServiceURL>string</ServiceURL>
<ContactName>string</ContactName>
<ContactEmail>string</ContactEmail>
<Type>string</Type>
<CoverageSpatial>string</CoverageSpatial>
<CoverageSpectral>
<string>string</string>
<string>string</string>
</CoverageSpectral>
<CoverageTemporal>string</CoverageTemporal>
<EntrySize>double</EntrySize>
<MaxSR>double</MaxSR>
<MaxRecords>int</MaxRecords>
<ContentLevel>
<string>string</string>
<string>string</string>
</ContentLevel>
<Facility>string</Facility>
<Instrument>
<string>string</string>
<string>string</string>
</Instrument>
<Format>
<string>string</string>
<string>string</string>
</Format>
<ServiceType>string</ServiceType>
<xml>string</xml>
<validationLevel>int</validationLevel>
</SimpleResource>
</ArrayOfSimpleResource>