summaryrefslogtreecommitdiffstats
path: root/src/main/java/derms/replica1/jaxws/DERMSServerService.java
blob: 2343bdfd321626828c565f83e4e3f67f4b7d6879 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94

package derms.replica1.jaxws;

import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceException;
import javax.xml.ws.WebServiceFeature;


/**
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.2.9-b130926.1035
 * Generated source version: 2.2
 * 
 */
@WebServiceClient(name = "DERMSServerService", targetNamespace = "http://replica1.derms/", wsdlLocation = "http://localhost:8387/ws/derms?wsdl")
public class DERMSServerService
    extends Service
{

    private final static URL DERMSSERVERSERVICE_WSDL_LOCATION;
    private final static WebServiceException DERMSSERVERSERVICE_EXCEPTION;
    private final static QName DERMSSERVERSERVICE_QNAME = new QName("http://replica1.derms/", "DERMSServerService");

    static {
        URL url = null;
        WebServiceException e = null;
        try {
            url = new URL("http://localhost:8387/ws/derms?wsdl");
        } catch (MalformedURLException ex) {
            e = new WebServiceException(ex);
        }
        DERMSSERVERSERVICE_WSDL_LOCATION = url;
        DERMSSERVERSERVICE_EXCEPTION = e;
    }

    public DERMSServerService() {
        super(__getWsdlLocation(), DERMSSERVERSERVICE_QNAME);
    }

    public DERMSServerService(WebServiceFeature... features) {
        super(__getWsdlLocation(), DERMSSERVERSERVICE_QNAME, features);
    }

    public DERMSServerService(URL wsdlLocation) {
        super(wsdlLocation, DERMSSERVERSERVICE_QNAME);
    }

    public DERMSServerService(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, DERMSSERVERSERVICE_QNAME, features);
    }

    public DERMSServerService(URL wsdlLocation, QName serviceName) {
        super(wsdlLocation, serviceName);
    }

    public DERMSServerService(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
        super(wsdlLocation, serviceName, features);
    }

    /**
     * 
     * @return
     *     returns DERMSInterface
     */
    @WebEndpoint(name = "DERMSServerPort")
    public DERMSInterface getDERMSServerPort() {
        return super.getPort(new QName("http://replica1.derms/", "DERMSServerPort"), DERMSInterface.class);
    }

    /**
     * 
     * @param features
     *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
     * @return
     *     returns DERMSInterface
     */
    @WebEndpoint(name = "DERMSServerPort")
    public DERMSInterface getDERMSServerPort(WebServiceFeature... features) {
        return super.getPort(new QName("http://replica1.derms/", "DERMSServerPort"), DERMSInterface.class, features);
    }

    private static URL __getWsdlLocation() {
        if (DERMSSERVERSERVICE_EXCEPTION!= null) {
            throw DERMSSERVERSERVICE_EXCEPTION;
        }
        return DERMSSERVERSERVICE_WSDL_LOCATION;
    }

}