
package ysr.com.teamcenter;

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.9-b130926.1035
 * Generated source version: 2.2
 * 
 */
@WebServiceClient(name = "YSRServerService", targetNamespace = "http://teamcenter.com.ysr/", wsdlLocation = "file:/C:/Users/Administrator/Desktop/YSRServerService.wsdl")
public class YSRServerService
    extends Service
{

    private final static URL YSRSERVERSERVICE_WSDL_LOCATION;
    private final static WebServiceException YSRSERVERSERVICE_EXCEPTION;
    private final static QName YSRSERVERSERVICE_QNAME = new QName("http://teamcenter.com.ysr/", "YSRServerService");

    static {
        URL url = null;
        WebServiceException e = null;
        try {
            url = new URL("file:/C:/Users/Administrator/Desktop/YSRServerService.wsdl");
        } catch (MalformedURLException ex) {
            e = new WebServiceException(ex);
        }
        YSRSERVERSERVICE_WSDL_LOCATION = url;
        YSRSERVERSERVICE_EXCEPTION = e;
    }

    public YSRServerService() {
        super(__getWsdlLocation(), YSRSERVERSERVICE_QNAME);
    }

    public YSRServerService(WebServiceFeature... features) {
        super(__getWsdlLocation(), YSRSERVERSERVICE_QNAME, features);
    }

    public YSRServerService(URL wsdlLocation) {
        super(wsdlLocation, YSRSERVERSERVICE_QNAME);
    }

    public YSRServerService(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, YSRSERVERSERVICE_QNAME, features);
    }

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

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

    /**
     * 
     * @return
     *     returns YSRServerDelegate
     */
    @WebEndpoint(name = "YSRServerPort")
    public YSRServerDelegate getYSRServerPort() {
        return super.getPort(new QName("http://teamcenter.com.ysr/", "YSRServerPort"), YSRServerDelegate.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 YSRServerDelegate
     */
    @WebEndpoint(name = "YSRServerPort")
    public YSRServerDelegate getYSRServerPort(WebServiceFeature... features) {
        return super.getPort(new QName("http://teamcenter.com.ysr/", "YSRServerPort"), YSRServerDelegate.class, features);
    }

    private static URL __getWsdlLocation() {
        if (YSRSERVERSERVICE_EXCEPTION!= null) {
            throw YSRSERVERSERVICE_EXCEPTION;
        }
        return YSRSERVERSERVICE_WSDL_LOCATION;
    }

}
