RegistryAdmin
Click here for a complete list of operations.
LoadFlatResource
Update or insert record - if it exist PassPhrase must match
Test
The test form is only available for requests from the local machine.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 /registry/registryadmin.asmx HTTP/1.1
Host: www.voservices.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.us-vo.org/LoadFlatResource"
<?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>
<LoadFlatResource xmlns="http://www.us-vo.org">
<Title>string</Title>
<ShortName>string</ShortName>
<Publisher>string</Publisher>
<Creator>string</Creator>
<Subject>string</Subject>
<Description>string</Description>
<Contributor>string</Contributor>
<Version>string</Version>
<Identifier>string</Identifier>
<ReferenceURL>string</ReferenceURL>
<ServiceURL>string</ServiceURL>
<ContactName>string</ContactName>
<ContactEmail>string</ContactEmail>
<Type>string</Type>
<CoverageSpatial>string</CoverageSpatial>
<CoverageSpectral>string</CoverageSpectral>
<CoverageTemporal>string</CoverageTemporal>
<EntrySize>float</EntrySize>
<MaxSR>float</MaxSR>
<MaxRecords>int</MaxRecords>
<ContentLevel>string</ContentLevel>
<Facility>string</Facility>
<Instrument>string</Instrument>
<Format>string</Format>
<ResourceType>string</ResourceType>
<Compliance>string</Compliance>
<Longitude>double</Longitude>
<Latitude>double</Latitude>
<PrimaryTable>string</PrimaryTable>
<PrimaryKey>string</PrimaryKey>
<ImageServiceType>string</ImageServiceType>
<MaxQueryRegionSizeLat>float</MaxQueryRegionSizeLat>
<MaxQueryRegionSizeLong>float</MaxQueryRegionSizeLong>
<MaxImageExtentLat>int</MaxImageExtentLat>
<MaxImageExtentLong>int</MaxImageExtentLong>
<MaxFileSize>int</MaxFileSize>
<MaxImageSizeLat>int</MaxImageSizeLat>
<MaxImageSizeLong>int</MaxImageSizeLong>
<Date>dateTime</Date>
<VOTableColumns>string</VOTableColumns>
<harvestedfrom>string</harvestedfrom>
<footprint>string</footprint>
<validationLevel>int</validationLevel>
<PassPhrase>string</PassPhrase>
</LoadFlatResource>
</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>
<LoadFlatResourceResponse xmlns="http://www.us-vo.org">
<LoadFlatResourceResult>string</LoadFlatResourceResult>
</LoadFlatResourceResponse>
</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 /registry/registryadmin.asmx HTTP/1.1
Host: www.voservices.net
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>
<LoadFlatResource xmlns="http://www.us-vo.org">
<Title>string</Title>
<ShortName>string</ShortName>
<Publisher>string</Publisher>
<Creator>string</Creator>
<Subject>string</Subject>
<Description>string</Description>
<Contributor>string</Contributor>
<Version>string</Version>
<Identifier>string</Identifier>
<ReferenceURL>string</ReferenceURL>
<ServiceURL>string</ServiceURL>
<ContactName>string</ContactName>
<ContactEmail>string</ContactEmail>
<Type>string</Type>
<CoverageSpatial>string</CoverageSpatial>
<CoverageSpectral>string</CoverageSpectral>
<CoverageTemporal>string</CoverageTemporal>
<EntrySize>float</EntrySize>
<MaxSR>float</MaxSR>
<MaxRecords>int</MaxRecords>
<ContentLevel>string</ContentLevel>
<Facility>string</Facility>
<Instrument>string</Instrument>
<Format>string</Format>
<ResourceType>string</ResourceType>
<Compliance>string</Compliance>
<Longitude>double</Longitude>
<Latitude>double</Latitude>
<PrimaryTable>string</PrimaryTable>
<PrimaryKey>string</PrimaryKey>
<ImageServiceType>string</ImageServiceType>
<MaxQueryRegionSizeLat>float</MaxQueryRegionSizeLat>
<MaxQueryRegionSizeLong>float</MaxQueryRegionSizeLong>
<MaxImageExtentLat>int</MaxImageExtentLat>
<MaxImageExtentLong>int</MaxImageExtentLong>
<MaxFileSize>int</MaxFileSize>
<MaxImageSizeLat>int</MaxImageSizeLat>
<MaxImageSizeLong>int</MaxImageSizeLong>
<Date>dateTime</Date>
<VOTableColumns>string</VOTableColumns>
<harvestedfrom>string</harvestedfrom>
<footprint>string</footprint>
<validationLevel>int</validationLevel>
<PassPhrase>string</PassPhrase>
</LoadFlatResource>
</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>
<LoadFlatResourceResponse xmlns="http://www.us-vo.org">
<LoadFlatResourceResult>string</LoadFlatResourceResult>
</LoadFlatResourceResponse>
</soap12:Body>
</soap12:Envelope>