
package rendezvous;

import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceException;
import javax.xml.ws.WebServiceFeature;


/**
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.2-hudson-752-
 * Generated source version: 2.2
 * 
 */
@WebServiceClient(name = "DaoJpaService", targetNamespace = "http://dao/", wsdlLocation = "http://localhost:10397/DaoJpaService/DaoJpa?wsdl")
public class DaoJpaService
    extends Service
{

    private final static URL DAOJPASERVICE_WSDL_LOCATION;
    private final static WebServiceException DAOJPASERVICE_EXCEPTION;
    private final static QName DAOJPASERVICE_QNAME = new QName("http://dao/", "DaoJpaService");

    static {
        URL url = null;
        WebServiceException e = null;
        try {
            url = new URL("http://localhost:10397/DaoJpaService/DaoJpa?wsdl");
        } catch (MalformedURLException ex) {
            e = new WebServiceException(ex);
        }
        DAOJPASERVICE_WSDL_LOCATION = url;
        DAOJPASERVICE_EXCEPTION = e;
    }

    public DaoJpaService() {
        super(__getWsdlLocation(), DAOJPASERVICE_QNAME);
    }

    public DaoJpaService(WebServiceFeature... features) {
        super(__getWsdlLocation(), DAOJPASERVICE_QNAME, features);
    }

    public DaoJpaService(URL wsdlLocation) {
        super(wsdlLocation, DAOJPASERVICE_QNAME);
    }

    public DaoJpaService(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, DAOJPASERVICE_QNAME, features);
    }

    public DaoJpaService(URL wsdlLocation, QName serviceName) {
        super(wsdlLocation, serviceName);
    }

    public DaoJpaService(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
        super(wsdlLocation, serviceName, features);
    }

    /**
     * 
     * @return
     *     returns DaoJpa
     */
    @WebEndpoint(name = "DaoJpaPort")
    public DaoJpa getDaoJpaPort() {
        return super.getPort(new QName("http://dao/", "DaoJpaPort"), DaoJpa.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 DaoJpa
     */
    @WebEndpoint(name = "DaoJpaPort")
    public DaoJpa getDaoJpaPort(WebServiceFeature... features) {
        return super.getPort(new QName("http://dao/", "DaoJpaPort"), DaoJpa.class, features);
    }

    private static URL __getWsdlLocation() {
        if (DAOJPASERVICE_EXCEPTION!= null) {
            throw DAOJPASERVICE_EXCEPTION;
        }
        return DAOJPASERVICE_WSDL_LOCATION;
    }

}
