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

ee.xtee6.rr.rr67v1.XRoadService Maven / Gradle / Ivy

The newest version!

package ee.xtee6.rr.rr67v1;

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 = "XRoadService", targetNamespace = "http://rr.x-road.eu/producer", wsdlLocation = "/wsdl/RR67-muutus.v1.wsdl")
@Generated(value = "com.sun.tools.ws.wscompile.WsimportTool", comments = "XML-WS Tools 4.0.2", date = "2024-11-22T14:11:51+02:00")
public class XRoadService
    extends Service
{

    private static final URL XROADSERVICE_WSDL_LOCATION;
    private static final WebServiceException XROADSERVICE_EXCEPTION;
    private static final QName XROADSERVICE_QNAME = new QName("http://rr.x-road.eu/producer", "XRoadService");

    static {
        XROADSERVICE_WSDL_LOCATION = ee.xtee6.rr.rr67v1.XRoadService.class.getResource("/wsdl/RR67-muutus.v1.wsdl");
        WebServiceException e = null;
        if (XROADSERVICE_WSDL_LOCATION == null) {
            e = new WebServiceException("Cannot find '/wsdl/RR67-muutus.v1.wsdl' wsdl. Place the resource correctly in the classpath.");
        }
        XROADSERVICE_EXCEPTION = e;
    }

    public XRoadService() {
        super(__getWsdlLocation(), XROADSERVICE_QNAME);
    }

    public XRoadService(WebServiceFeature... features) {
        super(__getWsdlLocation(), XROADSERVICE_QNAME, features);
    }

    public XRoadService(URL wsdlLocation) {
        super(wsdlLocation, XROADSERVICE_QNAME);
    }

    public XRoadService(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, XROADSERVICE_QNAME, features);
    }

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

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

    /**
     * 
     * @return
     *     returns XRoadAdapterPortType
     */
    @WebEndpoint(name = "MainPort")
    public XRoadAdapterPortType getMainPort() {
        return super.getPort(new QName("http://rr.x-road.eu/producer", "MainPort"), XRoadAdapterPortType.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 XRoadAdapterPortType
     */
    @WebEndpoint(name = "MainPort")
    public XRoadAdapterPortType getMainPort(WebServiceFeature... features) {
        return super.getPort(new QName("http://rr.x-road.eu/producer", "MainPort"), XRoadAdapterPortType.class, features);
    }

    private static URL __getWsdlLocation() {
        if (XROADSERVICE_EXCEPTION!= null) {
            throw XROADSERVICE_EXCEPTION;
        }
        return XROADSERVICE_WSDL_LOCATION;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy