
package user_client;

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.3.2
 * Generated source version: 2.2
 * 
 */
@WebServiceClient(name = "LoginHandlerService", targetNamespace = "http://user/", wsdlLocation = "http://localhost:8081/SOAP_Login/LoginHandler?wsdl")
public class LoginHandlerService
    extends Service
{

    private final static URL LOGINHANDLERSERVICE_WSDL_LOCATION;
    private final static WebServiceException LOGINHANDLERSERVICE_EXCEPTION;
    private final static QName LOGINHANDLERSERVICE_QNAME = new QName("http://user/", "LoginHandlerService");

    static {
        URL url = null;
        WebServiceException e = null;
        try {
            url = new URL("http://localhost:8081/SOAP_Login/LoginHandler?wsdl");
        } catch (MalformedURLException ex) {
            e = new WebServiceException(ex);
        }
        LOGINHANDLERSERVICE_WSDL_LOCATION = url;
        LOGINHANDLERSERVICE_EXCEPTION = e;
    }

    public LoginHandlerService() {
        super(__getWsdlLocation(), LOGINHANDLERSERVICE_QNAME);
    }

    public LoginHandlerService(WebServiceFeature... features) {
        super(__getWsdlLocation(), LOGINHANDLERSERVICE_QNAME, features);
    }

    public LoginHandlerService(URL wsdlLocation) {
        super(wsdlLocation, LOGINHANDLERSERVICE_QNAME);
    }

    public LoginHandlerService(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, LOGINHANDLERSERVICE_QNAME, features);
    }

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

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

    /**
     * 
     * @return
     *     returns LoginHandler
     */
    @WebEndpoint(name = "LoginHandlerPort")
    public LoginHandler getLoginHandlerPort() {
        return super.getPort(new QName("http://user/", "LoginHandlerPort"), LoginHandler.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 LoginHandler
     */
    @WebEndpoint(name = "LoginHandlerPort")
    public LoginHandler getLoginHandlerPort(WebServiceFeature... features) {
        return super.getPort(new QName("http://user/", "LoginHandlerPort"), LoginHandler.class, features);
    }

    private static URL __getWsdlLocation() {
        if (LOGINHANDLERSERVICE_EXCEPTION!= null) {
            throw LOGINHANDLERSERVICE_EXCEPTION;
        }
        return LOGINHANDLERSERVICE_WSDL_LOCATION;
    }

}
