SIAP


Click here for a complete list of operations.

getAllSiapInfo

Siap search for all bands. It outputs all fields (images) included in the Region of Interest.
Input 1: POS in degrees (string). Example: 195.163,2.5
Input 2: SIZE in degrees (double). Example: 0.1
Output: VOTABLE

Test

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

SOAP 1.1

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

POST /vo/dr2siap/SIAP.asmx HTTP/1.1
Host: skyserver.sdss.org
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "siap.ivoa.net/getAllSiapInfo"

<?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>
    <getAllSiapInfo xmlns="siap.ivoa.net">
      <POS>string</POS>
      <SIZE>double</SIZE>
    </getAllSiapInfo>
  </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>
    <getAllSiapInfoResponse xmlns="siap.ivoa.net">
      <VOTABLE xmlns="http://vizier.u-strasbg.fr/xml/VOTable-1.1.xsd" />
    </getAllSiapInfoResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

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

POST /vo/dr2siap/SIAP.asmx HTTP/1.1
Host: skyserver.sdss.org
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <getAllSiapInfo xmlns="siap.ivoa.net">
      <POS>string</POS>
      <SIZE>double</SIZE>
    </getAllSiapInfo>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <getAllSiapInfoResponse xmlns="siap.ivoa.net">
      <VOTABLE xmlns="http://vizier.u-strasbg.fr/xml/VOTable-1.1.xsd" />
    </getAllSiapInfoResponse>
  </soap12:Body>
</soap12: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/dr2siap/SIAP.asmx/getAllSiapInfo?POS=string&SIZE=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"?>
<VOTABLE xmlns="http://vizier.u-strasbg.fr/xml/VOTable-1.1.xsd" />

HTTP POST

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

POST /vo/dr2siap/SIAP.asmx/getAllSiapInfo HTTP/1.1
Host: skyserver.sdss.org
Content-Type: application/x-www-form-urlencoded
Content-Length: length

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

<?xml version="1.0" encoding="utf-8"?>
<VOTABLE xmlns="http://vizier.u-strasbg.fr/xml/VOTable-1.1.xsd" />