package de.christofreichardt.jaxws.securitypriceservice;

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 2.7.10
 * 2017-01-02T11:12:29.148+01:00
 * Generated source version: 2.7.10
 * 
 */
@WebServiceClient(name = "SecurityPriceService", 
                  wsdlLocation = "file:/C:/Users/CReichardt/Documents/JAX-WS-Labor/SecurityPriceService/SecurityPriceService-jar/src/main/resources/de/christofreichardt/wsdl/SecurityPriceService.wsdl",
                  targetNamespace = "http://de.christofreichardt/SecurityPriceService") 
public class SecurityPriceService extends Service {

    public final static URL WSDL_LOCATION;

    public final static QName SERVICE = new QName("http://de.christofreichardt/SecurityPriceService", "SecurityPriceService");
    public final static QName SecurityPriceServicePort = new QName("http://de.christofreichardt/SecurityPriceService", "SecurityPriceServicePort");
    static {
        URL url = null;
        try {
            url = new URL("file:/C:/Users/CReichardt/Documents/JAX-WS-Labor/SecurityPriceService/SecurityPriceService-jar/src/main/resources/de/christofreichardt/wsdl/SecurityPriceService.wsdl");
        } catch (MalformedURLException e) {
            java.util.logging.Logger.getLogger(SecurityPriceService.class.getName())
                .log(java.util.logging.Level.INFO, 
                     "Can not initialize the default wsdl from {0}", "file:/C:/Users/CReichardt/Documents/JAX-WS-Labor/SecurityPriceService/SecurityPriceService-jar/src/main/resources/de/christofreichardt/wsdl/SecurityPriceService.wsdl");
        }
        WSDL_LOCATION = url;
    }

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

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

    public SecurityPriceService() {
        super(WSDL_LOCATION, SERVICE);
    }
    
    //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
    //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
    //compliant code instead.
    public SecurityPriceService(WebServiceFeature ... features) {
        super(WSDL_LOCATION, SERVICE, features);
    }

    //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
    //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
    //compliant code instead.
    public SecurityPriceService(URL wsdlLocation, WebServiceFeature ... features) {
        super(wsdlLocation, SERVICE, features);
    }

    //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
    //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
    //compliant code instead.
    public SecurityPriceService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
        super(wsdlLocation, serviceName, features);
    }

    /**
     *
     * @return
     *     returns SecurityPriceServicePortType
     */
    @WebEndpoint(name = "SecurityPriceServicePort")
    public SecurityPriceServicePortType getSecurityPriceServicePort() {
        return super.getPort(SecurityPriceServicePort, SecurityPriceServicePortType.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 SecurityPriceServicePortType
     */
    @WebEndpoint(name = "SecurityPriceServicePort")
    public SecurityPriceServicePortType getSecurityPriceServicePort(WebServiceFeature... features) {
        return super.getPort(SecurityPriceServicePort, SecurityPriceServicePortType.class, features);
    }

}
