SkyPortal


Click here for a complete list of operations.

GetColumns

Returns an array of column names.

Test

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

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/GetColumns"
<?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>
    <GetColumns xmlns="SkyPortal.ivoa.net">
      <node>string</node>
      <table>string</table>
    </GetColumns>
  </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>
    <GetColumnsResponse xmlns="SkyPortal.ivoa.net">
      <GetColumnsResult>
        <string>string</string>
        <string>string</string>
      </GetColumnsResult>
    </GetColumnsResponse>
  </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/GetColumns?node=string&table=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"?>
<ArrayOfString xmlns="SkyPortal.ivoa.net">
  <string>string</string>
  <string>string</string>
</ArrayOfString>

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/GetColumns HTTP/1.1
Host: test.openskyquery.net
Content-Type: application/x-www-form-urlencoded
Content-Length: length
node=string&table=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfString xmlns="SkyPortal.ivoa.net">
  <string>string</string>
  <string>string</string>
</ArrayOfString>