
package cdpp_irap.impex.v0;

import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
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 JAX-WS RI.
 * JAX-WS RI 2.2.6-1b01 
 * Generated source version: 2.2
 * 
 */
@WebServiceClient(name = "Methods_AMDA", targetNamespace = "http://cdpp-irap/IMPEX/v0.1", wsdlLocation = "http://amda.irap.omp.eu/public/wsdl/Methods_AMDA.wsdl")
public class MethodsAMDA_Service
    extends Service
{

    private final static URL METHODSAMDA_WSDL_LOCATION;
    private final static WebServiceException METHODSAMDA_EXCEPTION;
    private final static QName METHODSAMDA_QNAME = new QName("http://cdpp-irap/IMPEX/v0.1", "Methods_AMDA");

    static {
        URL url = null;
        WebServiceException e = null;
        try {
            url = new URL("http://amda.irap.omp.eu/public/wsdl/Methods_AMDA.wsdl");
        } catch (MalformedURLException ex) {
            e = new WebServiceException(ex);
        }
        METHODSAMDA_WSDL_LOCATION = url;
        METHODSAMDA_EXCEPTION = e;
    }

    public MethodsAMDA_Service() {
        super(__getWsdlLocation(), METHODSAMDA_QNAME);
    }

    public MethodsAMDA_Service(WebServiceFeature... features) {
        super(__getWsdlLocation(), METHODSAMDA_QNAME, features);
    }

    public MethodsAMDA_Service(URL wsdlLocation) {
        super(wsdlLocation, METHODSAMDA_QNAME);
    }

    public MethodsAMDA_Service(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, METHODSAMDA_QNAME, features);
    }

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

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

    /**
     * 
     * @return
     *     returns MethodsAMDA
     */
    @WebEndpoint(name = "Methods_AMDAPort")
    public MethodsAMDA getMethodsAMDAPort() {
        return super.getPort(new QName("http://cdpp-irap/IMPEX/v0.1", "Methods_AMDAPort"), MethodsAMDA.class);
    }

    /**
     * 
     * @param features
     *     A list of {@link jakarta.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
     * @return
     *     returns MethodsAMDA
     */
    @WebEndpoint(name = "Methods_AMDAPort")
    public MethodsAMDA getMethodsAMDAPort(WebServiceFeature... features) {
        return super.getPort(new QName("http://cdpp-irap/IMPEX/v0.1", "Methods_AMDAPort"), MethodsAMDA.class, features);
    }

    private static URL __getWsdlLocation() {
        if (METHODSAMDA_EXCEPTION!= null) {
            throw METHODSAMDA_EXCEPTION;
        }
        return METHODSAMDA_WSDL_LOCATION;
    }

}
