
package myWebservice;

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.6-1b01 
 * Generated source version: 2.2
 * 
 */
@WebServiceClient(name = "ScoreWebService", targetNamespace = "http://chapter41/", wsdlLocation = "http://localhost:8080/WebServiceProject/ScoreWebService?WSDL")
public class ScoreWebService
    extends Service
{

    private final static URL SCOREWEBSERVICE_WSDL_LOCATION;
    private final static WebServiceException SCOREWEBSERVICE_EXCEPTION;
    private final static QName SCOREWEBSERVICE_QNAME = new QName("http://chapter41/", "ScoreWebService");

    static {
        URL url = null;
        WebServiceException e = null;
        try {
            url = new URL("http://localhost:8080/WebServiceProject/ScoreWebService?WSDL");
        } catch (MalformedURLException ex) {
            e = new WebServiceException(ex);
        }
        SCOREWEBSERVICE_WSDL_LOCATION = url;
        SCOREWEBSERVICE_EXCEPTION = e;
    }

    public ScoreWebService() {
        super(__getWsdlLocation(), SCOREWEBSERVICE_QNAME);
    }

    public ScoreWebService(WebServiceFeature... features) {
        super(__getWsdlLocation(), SCOREWEBSERVICE_QNAME, features);
    }

    public ScoreWebService(URL wsdlLocation) {
        super(wsdlLocation, SCOREWEBSERVICE_QNAME);
    }

    public ScoreWebService(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, SCOREWEBSERVICE_QNAME, features);
    }

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

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

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

    private static URL __getWsdlLocation() {
        if (SCOREWEBSERVICE_EXCEPTION!= null) {
            throw SCOREWEBSERVICE_EXCEPTION;
        }
        return SCOREWEBSERVICE_WSDL_LOCATION;
    }

}
