Subversion Repositories XServices

Rev

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

Rev 22 Rev 23
Line 20... Line 20...
20
import net.brutex.xservices.types.FileSetResource;
20
import net.brutex.xservices.types.FileSetResource;
21
import net.brutex.xservices.types.HostConnection;
21
import net.brutex.xservices.types.HostConnection;
22
import net.brutex.xservices.types.MailMimeType;
22
import net.brutex.xservices.types.MailMimeType;
23
import net.brutex.xservices.types.ReturnCode;
23
import net.brutex.xservices.types.ReturnCode;
24
import net.brutex.xservices.util.RunTask;
24
import net.brutex.xservices.util.RunTask;
-
 
25
import org.apache.cxf.annotations.WSDLDocumentation;
-
 
26
import org.apache.cxf.annotations.WSDLDocumentationCollection;
25
import org.apache.tools.ant.taskdefs.HostInfo;
27
import org.apache.tools.ant.taskdefs.HostInfo;
26
import org.apache.tools.ant.taskdefs.Sleep;
28
import org.apache.tools.ant.taskdefs.Sleep;
27
import org.apache.tools.ant.taskdefs.email.EmailTask;
29
import org.apache.tools.ant.taskdefs.email.EmailTask;
Line 28... Line 30...
28
 
30
 
29
/**
31
/**
30
 *
32
 *
31
 * @author Brian Rosenberger, bru@brutex.de
33
 * @author Brian Rosenberger, bru@brutex.de
-
 
34
 */
-
 
35
@WSDLDocumentationCollection(
-
 
36
    {
-
 
37
        @WSDLDocumentation("My portType documentation"),
-
 
38
        @WSDLDocumentation(value = "My top level documentation",
-
 
39
                           placement = WSDLDocumentation.Placement.TOP),
-
 
40
        @WSDLDocumentation(value = "My binding doc",
-
 
41
                           placement = WSDLDocumentation.Placement.BINDING)
-
 
42
    }
32
 */
43
)
33
@WebService(endpointInterface="net.brutex.xservices.ws.MiscService",
44
@WebService(endpointInterface="net.brutex.xservices.ws.MiscService",
34
serviceName="MiscService")
45
serviceName="MiscService")
Line -... Line 46...
-
 
46
public class MiscServiceImpl implements MiscService {
35
public class MiscServiceImpl implements MiscService {
47
 
36
 
48
    @WSDLDocumentation(value="Get information about a host.")
37
    public ReturnCode getHostinfo(String hostname) {
49
    public ReturnCode getHostinfo(String hostname) {
Line 38... Line 50...
38
        return antGetHostinfo(hostname, null);
50
        return antGetHostinfo(hostname, null);