Subversion Repositories XServices

Rev

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

Rev 16 Rev 18
Line 17... Line 17...
17
package net.brutex.xservices.ws;
17
package net.brutex.xservices.ws;
Line 18... Line 18...
18
 
18
 
19
import javax.jws.WebMethod;
19
import javax.jws.WebMethod;
20
import javax.jws.WebParam;
20
import javax.jws.WebParam;
-
 
21
import javax.jws.WebService;
21
import javax.jws.WebService;
22
import net.brutex.xservices.types.HostConnection;
22
import net.brutex.xservices.types.ReturnCode;
23
import net.brutex.xservices.types.ReturnCode;
Line 23... Line 24...
23
import net.brutex.xservices.util.BrutexNamespaces;
24
import net.brutex.xservices.util.BrutexNamespaces;
24
 
25
 
Line 29... Line 30...
29
@WebService(targetNamespace=BrutexNamespaces.WS_XSERVICES)
30
@WebService(targetNamespace=BrutexNamespaces.WS_XSERVICES)
30
public interface MiscService {
31
public interface MiscService {
Line 31... Line 32...
31
 
32
 
32
    @WebMethod(operationName="getHostinfo")
33
    @WebMethod(operationName="getHostinfo")
-
 
34
    public ReturnCode getHostinfo(@WebParam(name="hostname") String hostname);
-
 
35
 
-
 
36
    @WebMethod(operationName="sendMailSimple")
-
 
37
    public ReturnCode sendMailSimple(@WebParam(name="mailhost") HostConnection mailhost,
-
 
38
            @WebParam(name="from") String from,
-
 
39
            @WebParam(name="to") String tolist,
-
 
40
            @WebParam(name="subject") String subject,
33
    public ReturnCode getHostinfo(@WebParam(name="hostname") String hostname);
41
            @WebParam(name="message") String message);