Subversion Repositories XServices

Rev

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

Rev 72 Rev 78
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.HostinfoType;
23
import net.brutex.xservices.types.MailMimeType;
24
import net.brutex.xservices.types.MailMimeType;
24
import net.brutex.xservices.types.ReturnCode;
25
import net.brutex.xservices.types.ReturnCode;
25
import net.brutex.xservices.util.BrutexNamespaces;
26
import net.brutex.xservices.util.BrutexNamespaces;
-
 
27
 
-
 
28
import org.apache.cxf.aegis.type.java5.XmlElement;
26
import org.apache.cxf.annotations.WSDLDocumentation;
29
import org.apache.cxf.annotations.WSDLDocumentation;
27
import org.apache.cxf.annotations.WSDLDocumentationCollection;
30
import org.apache.cxf.annotations.WSDLDocumentationCollection;
Line 28... Line 31...
28
 
31
 
29
/**
32
/**
Line 41... Line 44...
41
     * @param hostname
44
     * @param hostname
42
     * @return ReturnCode
45
     * @return ReturnCode
43
     */
46
     */
44
    @WebMethod(operationName = "getHostinfo")
47
    @WebMethod(operationName = "getHostinfo")
45
    @WSDLDocumentation(value = "Get information about a host.")
48
    @WSDLDocumentation(value = "Get information about a host.")
46
    public ReturnCode getHostinfo(
49
    public HostinfoType getHostinfo(
47
    		@WebParam(name = "hostname") String hostname);
50
    		@WebParam(name = "hostname") @XmlElement(minOccurs="1", nillable=false ) String hostname);
Line 48... Line 51...
48
 
51
 
49
    /**
52
    /**
50
     *
53
     *
51
     * @param mailhost
54
     * @param mailhost
Line 130... Line 133...
130
     */
133
     */
131
    @WebMethod(operationName = "getInfo")
134
    @WebMethod(operationName = "getInfo")
132
    @WSDLDocumentation(value = "Get XService information.")
135
    @WSDLDocumentation(value = "Get XService information.")
133
    public ReturnCode getInfo();
136
    public ReturnCode getInfo();
Line -... Line 137...
-
 
137
    
-
 
138
    /**
-
 
139
     * Generate a UUID
-
 
140
     * @return new UUID
-
 
141
     */
-
 
142
    @WebMethod(operationName = "generateUUID")
-
 
143
    @WSDLDocumentation(value = "Generate a UUID.")
-
 
144
    public String generateUUID();
134
    
145