1,12 → 1,10 |
package net.brutex.xservices.ws; |
|
import javax.activation.DataHandler; |
import javax.jws.WebMethod; |
import javax.jws.WebParam; |
import javax.jws.WebService; |
|
import net.brutex.xservices.types.ArchiveResource; |
import net.brutex.xservices.types.AttachmentType; |
import net.brutex.xservices.types.FileResource; |
import net.brutex.xservices.types.FileSetResource; |
import net.brutex.xservices.types.ReturnCode; |
19,14 → 17,6 |
@WebParam(name = "file") String filename, |
@WebParam(name = "suffix") String suffix); |
|
@WebMethod(operationName = "downloadFile") |
public abstract AttachmentType downloadFile( |
@WebParam(name = "file") FileResource res); |
|
@WebMethod(operationName = "uploadFile") |
public abstract String uploadFile( |
@WebParam(name = "file") AttachmentType file); |
|
@WebMethod(operationName = "copy") |
public abstract ReturnCode copy( |
@WebParam(name = "fileset") FileSetResource src, |