Protected PALFA Web Services
Click here for a complete list of operations.
QueryDatabaseAsString
Ad-hoc database query and return VOTable as string
Test
The test form is only available for requests from the local machine.SOAP
The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.
POST /PALFA_WS/protected_WS.asmx HTTP/1.1
Host: arecibo.tc.cornell.edu
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://arecibo.tc.cornell.edu/PALFA_WS/QueryDatabaseAsString"
<?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>
<QueryDatabaseAsString xmlns="http://arecibo.tc.cornell.edu/PALFA_WS">
<username>string</username>
<password>string</password>
<sqlText>string</sqlText>
</QueryDatabaseAsString>
</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>
<QueryDatabaseAsStringResponse xmlns="http://arecibo.tc.cornell.edu/PALFA_WS">
<QueryDatabaseAsStringResult>string</QueryDatabaseAsStringResult>
</QueryDatabaseAsStringResponse>
</soap:Body>
</soap:Envelope>