Subversion Repositories XServices

Rev

Rev 21 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 21 Rev 22
Line 18... Line 18...
18
import javax.jws.WebMethod;
18
import javax.jws.WebMethod;
19
import javax.jws.WebParam;
19
import javax.jws.WebParam;
20
import javax.jws.WebService;
20
import javax.jws.WebService;
21
import net.brutex.xservices.types.FileSetResource;
21
import net.brutex.xservices.types.FileSetResource;
22
import net.brutex.xservices.types.HostConnection;
22
import net.brutex.xservices.types.HostConnection;
-
 
23
import net.brutex.xservices.types.MailMimeType;
23
import net.brutex.xservices.types.ReturnCode;
24
import net.brutex.xservices.types.ReturnCode;
24
import net.brutex.xservices.util.BrutexNamespaces;
25
import net.brutex.xservices.util.BrutexNamespaces;
Line 25... Line 26...
25
 
26
 
26
/**
27
/**
Line 46... Line 47...
46
            @WebParam(name = "to") String tolist,
47
            @WebParam(name = "to") String tolist,
47
            @WebParam(name = "subject") String subject,
48
            @WebParam(name = "subject") String subject,
48
            @WebParam(name = "message") String message,
49
            @WebParam(name = "message") String message,
49
            @WebParam(name = "attachments") FileSetResource res);
50
            @WebParam(name = "attachments") FileSetResource res);
Line -... Line 51...
-
 
51
 
-
 
52
    @WebMethod(operationName = "sendMail")
-
 
53
    public ReturnCode sendMail(@WebParam(name = "mailhost") HostConnection mailhost,
-
 
54
            @WebParam(name = "from") String from,
-
 
55
            @WebParam(name = "to") String tolist,
-
 
56
            @WebParam(name = "cc") String cclist,
-
 
57
            @WebParam(name = "bcc") String bcclist,
-
 
58
            @WebParam(name = "subject") String subject,
-
 
59
            @WebParam(name = "mimetype") MailMimeType mimetype,
-
 
60
            @WebParam(name = "charset") String charset,
-
 
61
            @WebParam(name = "message") String message,
-
 
62
            @WebParam(name = "attachments") FileSetResource res,
-
 
63
            @WebParam(name = "useSSL") boolean ssl,
-
 
64
            @WebParam(name = "useStartTLS") boolean tls);
50
 
65
 
51
    @WebMethod(operationName = "sleep")
66
    @WebMethod(operationName = "sleep")
52
    public ReturnCode sleep(@WebParam(name = "minutes") int minutes,
67
    public ReturnCode sleep(@WebParam(name = "minutes") int minutes,
53
            @WebParam(name = "seconds") int seconds);
68
            @WebParam(name = "seconds") int seconds);