Subversion Repositories XServices

Rev

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

Rev 20 Rev 21
Line 11... Line 11...
11
 *   distributed under the License is distributed on an "AS IS" BASIS,
11
 *   distributed under the License is distributed on an "AS IS" BASIS,
12
 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 *   See the License for the specific language governing permissions and
13
 *   See the License for the specific language governing permissions and
14
 *   limitations under the License.
14
 *   limitations under the License.
15
 */
15
 */
16
 
-
 
17
package net.brutex.xservices.ws;
16
package net.brutex.xservices.ws;
Line 18... Line 17...
18
 
17
 
19
import javax.jws.WebMethod;
18
import javax.jws.WebMethod;
20
import javax.jws.WebParam;
19
import javax.jws.WebParam;
-
 
20
import javax.jws.WebService;
21
import javax.jws.WebService;
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.ReturnCode;
23
import net.brutex.xservices.types.ReturnCode;
Line 24... Line 24...
24
import net.brutex.xservices.util.BrutexNamespaces;
24
import net.brutex.xservices.util.BrutexNamespaces;
Line 38... Line 38...
38
            @WebParam(name="from") String from,
38
            @WebParam(name = "from") String from,
39
            @WebParam(name="to") String tolist,
39
            @WebParam(name = "to") String tolist,
40
            @WebParam(name="subject") String subject,
40
            @WebParam(name = "subject") String subject,
41
            @WebParam(name="message") String message);
41
            @WebParam(name = "message") String message);
Line -... Line 42...
-
 
42
 
-
 
43
    @WebMethod(operationName = "sendMailSimpleWithAttachment")
-
 
44
    public ReturnCode sendMailSimpleWithAttachment(@WebParam(name = "mailhost") HostConnection mailhost,
-
 
45
            @WebParam(name = "from") String from,
-
 
46
            @WebParam(name = "to") String tolist,
-
 
47
            @WebParam(name = "subject") String subject,
-
 
48
            @WebParam(name = "message") String message,
-
 
49
            @WebParam(name = "attachments") FileSetResource res);
42
 
50
 
43
    @WebMethod(operationName="sleep")
51
    @WebMethod(operationName = "sleep")
44
    public ReturnCode sleep(@WebParam(name="minutes") int minutes,
52
    public ReturnCode sleep(@WebParam(name = "minutes") int minutes,
45
            @WebParam(name="seconds") int seconds);
53
            @WebParam(name = "seconds") int seconds);