vos://[service]/000-517
vos:///000-517
vos://[service]/path/my%20results
vos:///path/my%20results
vos:///my%20results
vos://[service]/path/path/
vos:///path/path/
vos://[service]/
vos:///
ivo://org.astrogrid.vospace/types/data.node
<node> template element,
....
<node>
<name>My new node</name>
<properties>
....
</properties>
</node>
....
and then use xsi:type attribute to extend it as required.
....
<node xsi:type="DataNode">
<name>My new node</name>
<properties>
....
</properties>
<!--+
| Additional data required for a new DataNode
+-->
</node>
....
ivo://org.astrogrid.vospace/formats/binary
ivo://org.astrogrid.vospace/formats/votable-1.0
ivo://org.astrogrid.vospace/protocols/http-put
ivo://org.astrogrid.vospace/protocols/http-put-chunked
ivo://org.astrogrid.vospace/protocols/dime-put
<node> element for the updated node, containing
vos://[service]/000-517
vos://[service]/my%20results
vos://[service]/path/path/my%20results
ivo://org.astrogrid.vospace/types/data.node
<node> element,
....
<node>
<uri>vos://[service]/path/my%20results</uri>
<type>ivo://org.astrogrid.vospace/types/base.node</type>
<name>My results</name>
<properties>
....
</properties>
</node>
....
and then use xsi:type attribute to extend it as required.
....
<node xsi:type="DataNode">
<uri>vos://[service]/path/my%20results</uri>
<type>ivo://org.astrogrid.vospace/types/data.node</type>
<name>My new node</name>
<properties>
....
</properties>
<!--+
| Additional data required for a DataNode
+-->
</node>
....
Plus, a <transfer> element, containing details of the data transfer.
vos://[service]/[ident]
ivo://org.astrogrid.vospace/formats/binary
ivo://org.astrogrid.vospace/formats/votable-1.0
ivo://org.astrogrid.vospace/protocols/http-put
ivo://org.astrogrid.vospace/protocols/http-put-chunked
<location> element containing details of where to send the data to
xsi:type to include specific params required by the transfer protocol.
A standard http transfer only requires the URL to send the data to
<location xsi:type="HttpPutLocation">
<url>http://[host]/[path]</url>
</location>
A SOAP DIME transfer requires the endpoint of the service, and an identifier for the transfer.
<location xsi:type="HttpPutLocation">
<url>http://[host]/[path]</url>
<ident>5117-00BC6</ident>
</location>
Other protocols may require different a set of params.
NodeNotFound exception if the target node does not exist.
LinkFound exception if the target path includes a link. note
LinkFound exception if the target node is a link. note
NodeNotFound exception if the parent node does not exist.
OperationNotSupported exception if it does not support the requested type.
OperationNotSupported exception if it does not support user defined names.
DuplicateNode exception if <replace> is false, and a node with the same name already exists
LinkFound exception if the parent path includes a link. note
LinkFound exception if the parent node is a link. note
OperationNotSupported exception if it does not support the requested transfer protocol.
OperationNotSupported exception if it does not support the requested data format.
InternalFault exception if an operation fails.
PermissionDenied exception if the user does not have permissions to perform the operation.
<target> identifier in the request can be full a URI including the service identifier and node path. vos://[service]/000-517
vos://[service]/path/my%20results
<target> identifier in the request can be a relative URI just containing the node path. vos:///000-517
vos:///path/my%20results
<parent> identifier in the request can be full a URI including the service identifier and node path. vos://[service]/
vos://[service]/path/path/
<parent> identifier in the request can be a relative URI just contianing the node path. vos:///
vos:///path/path/
'/', not a null or empty element. vos://[service]/
vos:///
<name> in the request is null or empty, then the service will generate a new unique name for the node.
<node> identifier in the response must be full a URI including the service identifier and node path. vos://[service]/000-517
vos://[service]/path/my%20results
<replace> flag to prevent overwriting an existing file ?
binary and allow the <format> element to be optional ?
xsi:type on the <location>, then do we need the <protocol>.
xsi:type be on the <transfer> or <protocol> element ?
LinkFound exceptions be part of the V1.0 specification, or left until later ?
![]() |
Click here for the AstroGrid Service Web |
This is the AstroGrid Development Wiki |
|