SdssFields


Click here for a complete list of operations.

ListOfFields

Return a simple list of strings that have run, rerun, camcol, field.
Input 1: ra in degrees (double)
Input 2: dec in degrees (double)
Input 3: radius in arcmins (double)
Output: list of fields (string[])

Test

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

SOAP

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

POST /vo/dr2fields/sdssFields.asmx HTTP/1.1
Host: skyserver.sdss.org
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://skyservice.pha.jhu.edu/ListOfFields"

<?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>
    <ListOfFields xmlns="http://skyservice.pha.jhu.edu/">
      <ra>double</ra>
      <dec>double</dec>
      <radius>double</radius>
    </ListOfFields>
  </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>
    <ListOfFieldsResponse xmlns="http://skyservice.pha.jhu.edu/">
      <ListOfFieldsResult>
        <string>string</string>
        <string>string</string>
      </ListOfFieldsResult>
    </ListOfFieldsResponse>
  </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 /vo/dr2fields/sdssFields.asmx/ListOfFields?ra=string&dec=string&radius=string HTTP/1.1
Host: skyserver.sdss.org
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfString xmlns="http://skyservice.pha.jhu.edu/">
  <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 /vo/dr2fields/sdssFields.asmx/ListOfFields HTTP/1.1
Host: skyserver.sdss.org
Content-Type: application/x-www-form-urlencoded
Content-Length: length

ra=string&dec=string&radius=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="http://skyservice.pha.jhu.edu/">
  <string>string</string>
  <string>string</string>
</ArrayOfString>