package gov.va.med.pharmacy.wsclients.mvi;

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.1.7
 * 2016-09-01T15:21:24.184-04:00
 * Generated source version: 3.1.7
 * 
 */
@WebServiceClient(name = "VAIdM", 
                  wsdlLocation = "http://DNS   .commserv.healthevet.DNS   :8110/psim_webservice/IdMWebService?wsdl",
                  targetNamespace = "http://URL         .DNS   ") 
public class VAIdM extends Service {

    public final static URL WSDL_LOCATION;

    public final static QName SERVICE = new QName("http://URL         .DNS   ", "VAIdM");
    public final static QName VAIdMPort = new QName("http://URL         .DNS   ", "VAIdMPort");
    static {
        URL url = null;
        try {
            url = VAIdM.class.getResource("wsdl/mvi/PREeRX_IdmHl7v3_FlatFile.wsdl");
        } catch (Exception e) {
            java.util.logging.Logger.getLogger(VAIdM.class.getName())
                .log(java.util.logging.Level.INFO, 
                     "Can not initialize the default wsdl from {0}", "wsdl/mvi/PREeRX_IdmHl7v3_FlatFile.wsdl");
        }
        WSDL_LOCATION = url;
    }

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

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

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

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

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




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

}
