package at.vvo.omds.types.omds3Types.r1_3_0.brokerservice;

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

/**
 * This class was generated by Apache CXF 3.2.0
 * 2019-06-12T15:56:19.338+02:00
 * Generated source version: 3.2.0
 * 
 */
@WebServiceClient(name = "omdsService", 
                  wsdlLocation = "file:/C:/Users/Jens/git/omdsservicedefinitions/OMDSServiceDefinition/src/main/resources/def/v1-3-0/omds3ServicesBroker.wsdl",
                  targetNamespace = "urn:omds3ServicesBroker-1-1-0") 
public class OmdsService extends Service {

    public final static URL WSDL_LOCATION;

    public final static QName SERVICE = new QName("urn:omds3ServicesBroker-1-1-0", "omdsService");
    public final static QName OmdsServicePort = new QName("urn:omds3ServicesBroker-1-1-0", "omdsServicePort");
    static {
        URL url = null;
        try {
            url = new URL("file:/C:/Users/Jens/git/omdsservicedefinitions/OMDSServiceDefinition/src/main/resources/def/v1-3-0/omds3ServicesBroker.wsdl");
        } catch (MalformedURLException e) {
            java.util.logging.Logger.getLogger(OmdsService.class.getName())
                .log(java.util.logging.Level.INFO, 
                     "Can not initialize the default wsdl from {0}", "file:/C:/Users/Jens/git/omdsservicedefinitions/OMDSServiceDefinition/src/main/resources/def/v1-3-0/omds3ServicesBroker.wsdl");
        }
        WSDL_LOCATION = url;
    }

    public OmdsService(URL wsdlLocation) {
        super(wsdlLocation, SERVICE);
    }

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

    public OmdsService() {
        super(WSDL_LOCATION, SERVICE);
    }
    
    public OmdsService(WebServiceFeature ... features) {
        super(WSDL_LOCATION, SERVICE, features);
    }

    public OmdsService(URL wsdlLocation, WebServiceFeature ... features) {
        super(wsdlLocation, SERVICE, features);
    }

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




    /**
     *
     * @return
     *     returns OmdsServicePortType
     */
    @WebEndpoint(name = "omdsServicePort")
    public OmdsServicePortType getOmdsServicePort() {
        return super.getPort(OmdsServicePort, OmdsServicePortType.class);
    }

    /**
     * 
     * @param features
     *     A list of {@link WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
     * @return
     *     returns OmdsServicePortType
     */
    @WebEndpoint(name = "omdsServicePort")
    public OmdsServicePortType getOmdsServicePort(WebServiceFeature... features) {
        return super.getPort(OmdsServicePort, OmdsServicePortType.class, features);
    }

}
