|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IFileStorageAppSoap
Provides SOAP web service for uploading/downloading files. Uploaded files are assigned a "tempoary session-specific key" which must be used within the SOAP session to create a document/FRS file/etc. Otherwise, the uploaded file is simply discarded. This service provides support for uploading/downloading files as attachments. Clients which are unable to use SOAP file attachments for uploading files, can use "SimpleFileStorageApp" service for uploading files in memory.
| Method Summary | |
|---|---|
javax.activation.DataHandler |
downloadFile(java.lang.String sessionId,
java.lang.String fileId)
Downloads file as SOAP attachment. |
java.lang.String |
uploadFile(java.lang.String sessionId,
javax.activation.DataHandler file)
Uploads a file as SOAP attachment. |
| Method Detail |
|---|
java.lang.String uploadFile(java.lang.String sessionId,
javax.activation.DataHandler file)
throws java.rmi.RemoteException
sessionId - User session id.file - SOAP file attachment.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when session is invalid (or not active).
com.vasoftware.sf.soap44.fault.SystemFault - when a system level error occurs.
java.rmi.RemoteException
javax.activation.DataHandler downloadFile(java.lang.String sessionId,
java.lang.String fileId)
throws java.rmi.RemoteException
sessionId - User session id.fileId - File object id.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when session is invalid (or not active).
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - when the user has insufficient privileges.
com.vasoftware.sf.soap44.fault.SystemFault - when a system level error occurs.
java.rmi.RemoteException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||