The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /vor10/ristandardservice.asmx HTTP/1.1 Host: nvo.stsci.edu Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.ivoa.net/wsdl/RegistrySearch/v1.0#KeywordSearch" <?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> <KeywordSearch xmlns="http://www.ivoa.net/wsdl/RegistrySearch/v1.0"> <keywords xmlns="">string</keywords> <orValues xmlns="">boolean</orValues> <from xmlns="">positiveInteger</from> <max xmlns="">positiveInteger</max> <identifiersOnly xmlns="">boolean</identifiersOnly> </KeywordSearch> </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> <SearchResponse xmlns="http://www.ivoa.net/wsdl/RegistrySearch/v1.0"> <VOResources from="positiveInteger" numberReturned="positiveInteger" more="boolean" xmlns="http://www.ivoa.net/xml/RegistryInterface/v1.0" /> </SearchResponse> </soap:Body> </soap:Envelope>
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /vor10/ristandardservice.asmx HTTP/1.1 Host: nvo.stsci.edu 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> <KeywordSearch xmlns="http://www.ivoa.net/wsdl/RegistrySearch/v1.0"> <keywords xmlns="">string</keywords> <orValues xmlns="">boolean</orValues> <from xmlns="">positiveInteger</from> <max xmlns="">positiveInteger</max> <identifiersOnly xmlns="">boolean</identifiersOnly> </KeywordSearch> </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> <SearchResponse xmlns="http://www.ivoa.net/wsdl/RegistrySearch/v1.0"> <VOResources from="positiveInteger" numberReturned="positiveInteger" more="boolean" xmlns="http://www.ivoa.net/xml/RegistryInterface/v1.0" /> </SearchResponse> </soap12:Body> </soap12:Envelope>