All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ee.xtee6.kpois.trykis.KpoisPortService Maven / Gradle / Ivy


package ee.xtee6.kpois.trykis;

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


/**
 * This class was generated by the XML-WS Tools.
 * XML-WS Tools 4.0.2
 * Generated source version: 3.0
 * 
 */
@WebServiceClient(name = "kpoisPortService", targetNamespace = "http://kpois.x-road.eu/producer/", wsdlLocation = "/wsdl/kyKitsendusteTrykis.v2.wsdl")
@Generated(value = "com.sun.tools.ws.wscompile.WsimportTool", comments = "XML-WS Tools 4.0.2", date = "2024-11-22T14:10:44+02:00")
public class KpoisPortService
    extends Service
{

    private static final URL KPOISPORTSERVICE_WSDL_LOCATION;
    private static final WebServiceException KPOISPORTSERVICE_EXCEPTION;
    private static final QName KPOISPORTSERVICE_QNAME = new QName("http://kpois.x-road.eu/producer/", "kpoisPortService");

    static {
        KPOISPORTSERVICE_WSDL_LOCATION = ee.xtee6.kpois.trykis.KpoisPortService.class.getResource("/wsdl/kyKitsendusteTrykis.v2.wsdl");
        WebServiceException e = null;
        if (KPOISPORTSERVICE_WSDL_LOCATION == null) {
            e = new WebServiceException("Cannot find '/wsdl/kyKitsendusteTrykis.v2.wsdl' wsdl. Place the resource correctly in the classpath.");
        }
        KPOISPORTSERVICE_EXCEPTION = e;
    }

    public KpoisPortService() {
        super(__getWsdlLocation(), KPOISPORTSERVICE_QNAME);
    }

    public KpoisPortService(WebServiceFeature... features) {
        super(__getWsdlLocation(), KPOISPORTSERVICE_QNAME, features);
    }

    public KpoisPortService(URL wsdlLocation) {
        super(wsdlLocation, KPOISPORTSERVICE_QNAME);
    }

    public KpoisPortService(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, KPOISPORTSERVICE_QNAME, features);
    }

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

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

    /**
     * 
     * @return
     *     returns KpoisServicePort
     */
    @WebEndpoint(name = "kpoisServicePortSoap11")
    public KpoisServicePort getKpoisServicePortSoap11() {
        return super.getPort(new QName("http://kpois.x-road.eu/producer/", "kpoisServicePortSoap11"), KpoisServicePort.class);
    }

    /**
     * 
     * @param features
     *     A list of {@link jakarta.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the features parameter will have their default values.
     * @return
     *     returns KpoisServicePort
     */
    @WebEndpoint(name = "kpoisServicePortSoap11")
    public KpoisServicePort getKpoisServicePortSoap11(WebServiceFeature... features) {
        return super.getPort(new QName("http://kpois.x-road.eu/producer/", "kpoisServicePortSoap11"), KpoisServicePort.class, features);
    }

    private static URL __getWsdlLocation() {
        if (KPOISPORTSERVICE_EXCEPTION!= null) {
            throw KPOISPORTSERVICE_EXCEPTION;
        }
        return KPOISPORTSERVICE_WSDL_LOCATION;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy