PutData

This defines the service endpoint for a DIME put transfer.

Note, this is not part of the main VoSpace interface. This may be implemented as a capability of a VoSpace service, or it may be implemented as a separate webservice.

When a client requests a DIME put transfer via ImportInit , the VoSpace service replies with the endpoint address of a service that implements this interface, and a URI identifier for the transfer.

If the VoSpace service does not support transfer transactions, then this may be just a URI of a VoSpace data node. However, if the VoSpace service does support transfer transactions, then the URI may point to a data transfer setup by a call to ExportInit .

The content of the identifier is service specific, and the client should not try to interpret it as anything other than an opaque URI.

Parameters

  • Target - The URI of transfer
    • vos://[service]/000-517-889

  • The data, sent as a DIME attachment.

Returns

A <node> element, including the updated node properties.

Throws

  • The service will throw a InvalidIdentifier exception if the identifier is not valid.
  • The service will throw a ExpiredTransaction exception if the transaction has expired.

  • The service may throw an InternalFault exception if an operation fails.
  • The service may throw a PermissionDenied exception if the user does not have permissions to perform the operation.

Notes

  • DIME is supported in many of the current SOAP toolkits. However, it is a deprecated protocol, and is being replaced by MTOM.

Questions

  • Should we have a version of this that accepts the URI of a data node, enabling clients to get the data directly without setting up a transfer using ExportInit ?
  • It does give us a direct 'put' method. However, it also links the VoSpace interface with a specific transfer protocol.
  • Current thinking is keep it separate, and look at closer integration if people need it.

-- DaveMorris - 28 Apr 2006

Topic revision: r1 - 2006-04-28 - 16:43:45 - DaveMorris
 
AstroGrid Service Click here for the
AstroGrid Service Web
This is the AstroGrid
Development Wiki

This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback