
package com.bcxin.ins.third.build.dubang.vo;

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 = "CommServerWebService", targetNamespace = "http://webservice.web.agent.application.sinosoft.com", wsdlLocation = "http://220.249.110.106:7010/eies/CommServerWebService.ws?wsdl")
public class CommServerWebService
    extends Service
{

    private final static URL COMMSERVERWEBSERVICE_WSDL_LOCATION;
    private final static WebServiceException COMMSERVERWEBSERVICE_EXCEPTION;
    private final static QName COMMSERVERWEBSERVICE_QNAME = new QName("http://webservice.web.agent.application.sinosoft.com", "CommServerWebService");

    static {
        URL url = null;
        WebServiceException e = null;
        try {
            url = new URL("http://220.249.110.106:7010/eies/CommServerWebService.ws?wsdl");
        } catch (MalformedURLException ex) {
            e = new WebServiceException(ex);
        }
        COMMSERVERWEBSERVICE_WSDL_LOCATION = url;
        COMMSERVERWEBSERVICE_EXCEPTION = e;
    }

    public CommServerWebService() {
        super(__getWsdlLocation(), COMMSERVERWEBSERVICE_QNAME);
    }

    public CommServerWebService(WebServiceFeature... features) {
        super(__getWsdlLocation(), COMMSERVERWEBSERVICE_QNAME, features);
    }

    public CommServerWebService(URL wsdlLocation) {
        super(wsdlLocation, COMMSERVERWEBSERVICE_QNAME);
    }

    public CommServerWebService(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, COMMSERVERWEBSERVICE_QNAME, features);
    }

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

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

    /**
     * 
     * @return
     *     returns CommServerWebServicePortType
     */
    @WebEndpoint(name = "CommServerWebServiceHttpPort")
    public CommServerWebServicePortType getCommServerWebServiceHttpPort() {
        return super.getPort(new QName("http://webservice.web.agent.application.sinosoft.com", "CommServerWebServiceHttpPort"), CommServerWebServicePortType.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 CommServerWebServicePortType
     */
    @WebEndpoint(name = "CommServerWebServiceHttpPort")
    public CommServerWebServicePortType getCommServerWebServiceHttpPort(WebServiceFeature... features) {
        return super.getPort(new QName("http://webservice.web.agent.application.sinosoft.com", "CommServerWebServiceHttpPort"), CommServerWebServicePortType.class, features);
    }

    private static URL __getWsdlLocation() {
        if (COMMSERVERWEBSERVICE_EXCEPTION!= null) {
            throw COMMSERVERWEBSERVICE_EXCEPTION;
        }
        return COMMSERVERWEBSERVICE_WSDL_LOCATION;
    }

}
