
package ucp.ws;

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 = "UseCasePlanService", targetNamespace = "http://ws.ucp/", wsdlLocation = "http://localhost:8080/UseCasePlan/UseCasePlanService?wsdl")
public class UseCasePlanService
    extends Service
{

    private final static URL USECASEPLANSERVICE_WSDL_LOCATION;
    private final static WebServiceException USECASEPLANSERVICE_EXCEPTION;
    private final static QName USECASEPLANSERVICE_QNAME = new QName("http://ws.ucp/", "UseCasePlanService");

    static {
        URL url = null;
        WebServiceException e = null;
        try {
            url = new URL("http://localhost:8080/UseCasePlan/UseCasePlanService?wsdl");
        } catch (MalformedURLException ex) {
            e = new WebServiceException(ex);
        }
        USECASEPLANSERVICE_WSDL_LOCATION = url;
        USECASEPLANSERVICE_EXCEPTION = e;
    }

    public UseCasePlanService() {
        super(__getWsdlLocation(), USECASEPLANSERVICE_QNAME);
    }

    public UseCasePlanService(WebServiceFeature... features) {
        super(__getWsdlLocation(), USECASEPLANSERVICE_QNAME, features);
    }

    public UseCasePlanService(URL wsdlLocation) {
        super(wsdlLocation, USECASEPLANSERVICE_QNAME);
    }

    public UseCasePlanService(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, USECASEPLANSERVICE_QNAME, features);
    }

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

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

    /**
     * 
     * @return
     *     returns UseCasePlan
     */
    @WebEndpoint(name = "UseCasePlanPort")
    public UseCasePlan getUseCasePlanPort() {
        return super.getPort(new QName("http://ws.ucp/", "UseCasePlanPort"), UseCasePlan.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 UseCasePlan
     */
    @WebEndpoint(name = "UseCasePlanPort")
    public UseCasePlan getUseCasePlanPort(WebServiceFeature... features) {
        return super.getPort(new QName("http://ws.ucp/", "UseCasePlanPort"), UseCasePlan.class, features);
    }

    private static URL __getWsdlLocation() {
        if (USECASEPLANSERVICE_EXCEPTION!= null) {
            throw USECASEPLANSERVICE_EXCEPTION;
        }
        return USECASEPLANSERVICE_WSDL_LOCATION;
    }

}
