package sklep.generated;

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

/**
 * This class was generated by Apache CXF 3.5.2-jbossorg-4
 * 2023-05-24T16:08:33.585+02:00
 * Generated source version: 3.5.2-jbossorg-4
 *
 */
@WebServiceClient(name = "SklepService",
                  wsdlLocation = "http://localhost:8080/PC31-SoapSerwer/Sklep?wsdl",
                  targetNamespace = "http://soap.sklep/")
public class SklepService extends Service {

    public final static URL WSDL_LOCATION;

    public final static QName SERVICE = new QName("http://soap.sklep/", "SklepService");
    public final static QName SklepPort = new QName("http://soap.sklep/", "SklepPort");
    static {
        URL url = null;
        try {
            url = new URL("http://localhost:8080/PC31-SoapSerwer/Sklep?wsdl");
        } catch (MalformedURLException e) {
            java.util.logging.Logger.getLogger(SklepService.class.getName())
                .log(java.util.logging.Level.INFO,
                     "Can not initialize the default wsdl from {0}", "http://localhost:8080/PC31-SoapSerwer/Sklep?wsdl");
        }
        WSDL_LOCATION = url;
    }

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

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

    public SklepService() {
        super(WSDL_LOCATION, SERVICE);
    }

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

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

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




    /**
     *
     * @return
     *     returns Sklep
     */
    @WebEndpoint(name = "SklepPort")
    public Sklep getSklepPort() {
        return super.getPort(SklepPort, Sklep.class);
    }

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

}
