SkyPortal


Click here for a complete list of operations.

SubmitDistributedQuery

Runs a distributed query query by making a plan and then executing it - you may call the two steps seperately if you wish to view the plan or track progress.

Test

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

SOAP

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

POST /Sky/SkyPortal/SkyPortal.asmx HTTP/1.1
Host: test.openskyquery.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "SkyPortal.ivoa.net/SubmitDistributedQuery"
<?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:Header>
    <RunIDHeader xmlns="SkyPortal.ivoa.net">
      <IVOA_ID>string</IVOA_ID>
      <ID>string</ID>
    </RunIDHeader>
  </soap:Header>
  <soap:Body>
    <SubmitDistributedQuery xmlns="SkyPortal.ivoa.net">
      <qry>string</qry>
      <outputType>string</outputType>
    </SubmitDistributedQuery>
  </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>
    <SubmitDistributedQueryResponse xmlns="SkyPortal.ivoa.net">
      <SubmitDistributedQueryResult />
    </SubmitDistributedQueryResponse>
  </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 /Sky/SkyPortal/SkyPortal.asmx/SubmitDistributedQuery?qry=string&outputType=string HTTP/1.1
Host: test.openskyquery.net
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<VOData xmlns="SkyPortal.ivoa.net" />

HTTP POST

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

POST /Sky/SkyPortal/SkyPortal.asmx/SubmitDistributedQuery HTTP/1.1
Host: test.openskyquery.net
Content-Type: application/x-www-form-urlencoded
Content-Length: length
qry=string&outputType=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<VOData xmlns="SkyPortal.ivoa.net" />