package ogloszenia.wygenerowane;

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.3.10
 * 2021-07-16T14:10:46.168+02:00
 * Generated source version: 3.3.10
 *
 */
@WebServiceClient(name = "SerwisOgloszeniowyService",
                  wsdlLocation = "http://localhost:8080/PC42-OgloszeniaSoap-1.0/SerwisOgloszeniowy?wsdl",
                  targetNamespace = "http://soap.ogloszenia/")
public class SerwisOgloszeniowyService extends Service {

    public final static URL WSDL_LOCATION;

    public final static QName SERVICE = new QName("http://soap.ogloszenia/", "SerwisOgloszeniowyService");
    public final static QName SerwisOgloszeniowyPort = new QName("http://soap.ogloszenia/", "SerwisOgloszeniowyPort");
    static {
        URL url = null;
        try {
            url = new URL("http://localhost:8080/PC42-OgloszeniaSoap-1.0/SerwisOgloszeniowy?wsdl");
        } catch (MalformedURLException e) {
            java.util.logging.Logger.getLogger(SerwisOgloszeniowyService.class.getName())
                .log(java.util.logging.Level.INFO,
                     "Can not initialize the default wsdl from {0}", "http://localhost:8080/PC42-OgloszeniaSoap-1.0/SerwisOgloszeniowy?wsdl");
        }
        WSDL_LOCATION = url;
    }

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

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

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

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

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

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




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

}
