Subversion Repositories XServices

Rev

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

Rev 78 Rev 79
Line 58... Line 58...
58
     * @param message
58
     * @param message
59
     * @return ReturnCode
59
     * @return ReturnCode
60
     */
60
     */
61
    @WebMethod(operationName = "sendMailSimple")
61
    @WebMethod(operationName = "sendMailSimple")
62
    @WSDLDocumentation(value = "Send an email (simple).")
62
    @WSDLDocumentation(value = "Send an email (simple).")
-
 
63
    public ReturnCode sendMailSimple(
63
    public ReturnCode sendMailSimple(@WebParam(name = "mailhost") HostConnection mailhost,
64
    		@WebParam(name = "mailhost") @XmlElement(minOccurs="1", nillable=false) HostConnection mailhost,
64
            @WebParam(name = "from") String from,
65
            @WebParam(name = "from") @XmlElement(minOccurs="1", nillable=false) String from,
65
            @WebParam(name = "to") String tolist,
66
            @WebParam(name = "to") @XmlElement(minOccurs="1", nillable=false) String tolist,
66
            @WebParam(name = "subject") String subject,
67
            @WebParam(name = "subject") String subject,
67
            @WebParam(name = "message") String message);
68
            @WebParam(name = "message") String message);
Line 68... Line 69...
68
 
69
 
69
    /**
70
    /**
Line 76... Line 77...
76
     * @param res
77
     * @param res
77
     * @return ReturnCode
78
     * @return ReturnCode
78
     */
79
     */
79
    @WebMethod(operationName = "sendMailSimpleWithAttachment")
80
    @WebMethod(operationName = "sendMailSimpleWithAttachment")
80
    @WSDLDocumentation(value = "Send an email with attachment (simple).")
81
    @WSDLDocumentation(value = "Send an email with attachment (simple).")
-
 
82
    public ReturnCode sendMailSimpleWithAttachment(
81
    public ReturnCode sendMailSimpleWithAttachment(@WebParam(name = "mailhost") HostConnection mailhost,
83
    		@WebParam(name = "mailhost") @XmlElement(minOccurs="1", nillable=false) HostConnection mailhost,
82
            @WebParam(name = "from") String from,
84
            @WebParam(name = "from") @XmlElement(minOccurs="1", nillable=false) String from,
83
            @WebParam(name = "to") String tolist,
85
            @WebParam(name = "to") @XmlElement(minOccurs="1", nillable=false) String tolist,
84
            @WebParam(name = "subject") String subject,
86
            @WebParam(name = "subject") String subject,
85
            @WebParam(name = "message") String message,
87
            @WebParam(name = "message") String message,
86
            @WebParam(name = "attachments") FileSetResource res);
88
            @WebParam(name = "attachments") FileSetResource res);
Line 87... Line 89...
87
 
89
 
Line 101... Line 103...
101
     * @param tls
103
     * @param tls
102
     * @return ReturnCode
104
     * @return ReturnCode
103
     */
105
     */
104
    @WebMethod(operationName = "sendMail")
106
    @WebMethod(operationName = "sendMail")
105
    @WSDLDocumentation(value = "Send an email (advanced).")
107
    @WSDLDocumentation(value = "Send an email (advanced).")
-
 
108
    public ReturnCode sendMail(
106
    public ReturnCode sendMail(@WebParam(name = "mailhost") HostConnection mailhost,
109
    		@WebParam(name = "mailhost") @XmlElement(minOccurs="1", nillable=false) HostConnection mailhost,
107
            @WebParam(name = "from") String from,
110
            @WebParam(name = "from") @XmlElement(minOccurs="1", nillable=false) String from,
108
            @WebParam(name = "to") String tolist,
111
            @WebParam(name = "to") @XmlElement(minOccurs="1", nillable=false) String tolist,
109
            @WebParam(name = "cc") String cclist,
112
            @WebParam(name = "cc") String cclist,
110
            @WebParam(name = "bcc") String bcclist,
113
            @WebParam(name = "bcc") String bcclist,
111
            @WebParam(name = "subject") String subject,
114
            @WebParam(name = "subject") String subject,
112
            @WebParam(name = "mimetype") MailMimeType mimetype,
115
            @WebParam(name = "mimetype") MailMimeType mimetype,
113
            @WebParam(name = "charset") String charset,
116
            @WebParam(name = "charset") String charset,
Line 122... Line 125...
122
     * @param seconds
125
     * @param seconds
123
     * @return ReturnCode
126
     * @return ReturnCode
124
     */
127
     */
125
    @WebMethod(operationName = "sleep")
128
    @WebMethod(operationName = "sleep")
126
    @WSDLDocumentation(value = "Delay request response a specified duration.")
129
    @WSDLDocumentation(value = "Delay request response a specified duration.")
-
 
130
    public ReturnCode sleep(
127
    public ReturnCode sleep(@WebParam(name = "minutes") int minutes,
131
    		@WebParam(name = "minutes") int minutes,
128
            @WebParam(name = "seconds") int seconds);
132
            @WebParam(name = "seconds") int seconds);
Line 129... Line 133...
129
    
133
    
130
    
134