package com.srm.bpm.facde.oa;

import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
import java.net.MalformedURLException;
import java.net.URL;

/**
 * This class was generated by Apache CXF 3.3.5
 * 2023-11-08
 * Generated source version: 3.3.5
 *
 */
@WebServiceClient(name = "OfsTodoDataWebService",
        wsdlLocation = WebServiceRequestInfo.oaRequestAddress+"/services/OfsTodoDataWebService?wsdl",
        targetNamespace = "webservices.ofs.weaver.com.cn")
public class OfsTodoDataWebService extends Service {

    public final static URL WSDL_LOCATION;

    public final static QName SERVICE = new QName("webservices.ofs.weaver.com.cn", "OfsTodoDataWebService");
    public final static QName OfsTodoDataWebServiceHttpPort = new QName("webservices.ofs.weaver.com.cn", "OfsTodoDataWebServiceHttpPort");
    static {
        URL url = null;
        try {
            url = new URL(WebServiceRequestInfo.oaRequestAddress+"/services/OfsTodoDataWebService?wsdl");
        } catch (MalformedURLException e) {
            java.util.logging.Logger.getLogger(OfsTodoDataWebService.class.getName())
                    .log(java.util.logging.Level.INFO,
                            "Can not initialize the default wsdl from {0}", WebServiceRequestInfo.oaRequestAddress+"/services/OfsTodoDataWebService?wsdl");
        }
        WSDL_LOCATION = url;
    }

    public OfsTodoDataWebService(URL wsdlLocation) {
        super(wsdlLocation, SERVICE);
    }

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

    public OfsTodoDataWebService() {
        super(WSDL_LOCATION, SERVICE);
    }

    public OfsTodoDataWebService(WebServiceFeature ... features) {
        super(WSDL_LOCATION, SERVICE, features);
    }

    public OfsTodoDataWebService(URL wsdlLocation, WebServiceFeature ... features) {
        super(wsdlLocation, SERVICE, features);
    }

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




    /**
     *
     * @return
     *     returns OfsTodoDataWebServicePortType
     */
    @WebEndpoint(name = "OfsTodoDataWebServiceHttpPort")
    public OfsTodoDataWebServicePortType getOfsTodoDataWebServiceHttpPort() {
        return super.getPort(OfsTodoDataWebServiceHttpPort, OfsTodoDataWebServicePortType.class);
    }

    /**
     *
     * @param features
     *     A list of {@link WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
     * @return
     *     returns OfsTodoDataWebServicePortType
     */
    @WebEndpoint(name = "OfsTodoDataWebServiceHttpPort")
    public OfsTodoDataWebServicePortType getOfsTodoDataWebServiceHttpPort(WebServiceFeature... features) {
        return super.getPort(OfsTodoDataWebServiceHttpPort, OfsTodoDataWebServicePortType.class, features);
    }

}
