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

ee.xtee6.ehr.v1.EhrService Maven / Gradle / Ivy

The newest version!

package ee.xtee6.ehr.v1;

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 = "ehrService", targetNamespace = "http://ehr.ee.x-road.ee/producer/", wsdlLocation = "/wsdl/EHR.v1.wsdl")
@Generated(value = "com.sun.tools.ws.wscompile.WsimportTool", comments = "XML-WS Tools 4.0.2", date = "2024-11-22T14:10:03+02:00")
public class EhrService
    extends Service
{

    private static final URL EHRSERVICE_WSDL_LOCATION;
    private static final WebServiceException EHRSERVICE_EXCEPTION;
    private static final QName EHRSERVICE_QNAME = new QName("http://ehr.ee.x-road.ee/producer/", "ehrService");

    static {
        EHRSERVICE_WSDL_LOCATION = ee.xtee6.ehr.v1.EhrService.class.getResource("/wsdl/EHR.v1.wsdl");
        WebServiceException e = null;
        if (EHRSERVICE_WSDL_LOCATION == null) {
            e = new WebServiceException("Cannot find '/wsdl/EHR.v1.wsdl' wsdl. Place the resource correctly in the classpath.");
        }
        EHRSERVICE_EXCEPTION = e;
    }

    public EhrService() {
        super(__getWsdlLocation(), EHRSERVICE_QNAME);
    }

    public EhrService(WebServiceFeature... features) {
        super(__getWsdlLocation(), EHRSERVICE_QNAME, features);
    }

    public EhrService(URL wsdlLocation) {
        super(wsdlLocation, EHRSERVICE_QNAME);
    }

    public EhrService(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, EHRSERVICE_QNAME, features);
    }

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

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

    /**
     * 
     * @return
     *     returns EhrPorttype
     */
    @WebEndpoint(name = "ehrPort")
    public EhrPorttype getEhrPort() {
        return super.getPort(new QName("http://ehr.ee.x-road.ee/producer/", "ehrPort"), EhrPorttype.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 EhrPorttype
     */
    @WebEndpoint(name = "ehrPort")
    public EhrPorttype getEhrPort(WebServiceFeature... features) {
        return super.getPort(new QName("http://ehr.ee.x-road.ee/producer/", "ehrPort"), EhrPorttype.class, features);
    }

    private static URL __getWsdlLocation() {
        if (EHRSERVICE_EXCEPTION!= null) {
            throw EHRSERVICE_EXCEPTION;
        }
        return EHRSERVICE_WSDL_LOCATION;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy