e2f8d9076346be48e70a19349039775d738cba35.svn-base 3.27 KB

package com.thinkgem.jeesite.modules.reg.web.fayuanPoxy;

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.4-b01
 * Generated source version: 2.2
 * 
 */
@WebServiceClient(name = "IpConvertDataService", targetNamespace = "http://ip.service.webService.ckw.tdh/", wsdlLocation = "http://61.178.80.26:8085/ckwIpWebService/IpConvertData?wsdl")
public class IpConvertDataService
    extends Service
{

    private final static URL IPCONVERTDATASERVICE_WSDL_LOCATION;
    private final static WebServiceException IPCONVERTDATASERVICE_EXCEPTION;
    private final static QName IPCONVERTDATASERVICE_QNAME = new QName("http://ip.service.webService.ckw.tdh/", "IpConvertDataService");

    static {
        URL url = null;
        WebServiceException e = null;
        try {
           /* url = new URL("http://218.94.150.250:8889/ckwIpWebService/IpConvertData?wsdl");*/
        	 url = new URL("http://61.178.80.26:8085/ckwIpWebService/IpConvertData?wsdl");
        } catch (MalformedURLException ex) {
            e = new WebServiceException(ex);
        }
        IPCONVERTDATASERVICE_WSDL_LOCATION = url;
        IPCONVERTDATASERVICE_EXCEPTION = e;
    }

    public IpConvertDataService() {
        super(__getWsdlLocation(), IPCONVERTDATASERVICE_QNAME);
    }

    public IpConvertDataService(WebServiceFeature... features) {
        super(__getWsdlLocation(), IPCONVERTDATASERVICE_QNAME, features);
    }

    public IpConvertDataService(URL wsdlLocation) {
        super(wsdlLocation, IPCONVERTDATASERVICE_QNAME);
    }

    public IpConvertDataService(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, IPCONVERTDATASERVICE_QNAME, features);
    }

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

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

    /**
     * 
     * @return
     *     returns IpConvertDataHandle
     */
    @WebEndpoint(name = "IpConvertDataPort")
    public IpConvertDataHandle getIpConvertDataPort() {
        return super.getPort(new QName("http://ip.service.webService.ckw.tdh/", "IpConvertDataPort"), IpConvertDataHandle.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 IpConvertDataHandle
     */
    @WebEndpoint(name = "IpConvertDataPort")
    public IpConvertDataHandle getIpConvertDataPort(WebServiceFeature... features) {
        return super.getPort(new QName("http://ip.service.webService.ckw.tdh/", "IpConvertDataPort"), IpConvertDataHandle.class, features);
    }

    private static URL __getWsdlLocation() {
        if (IPCONVERTDATASERVICE_EXCEPTION!= null) {
            throw IPCONVERTDATASERVICE_EXCEPTION;
        }
        return IPCONVERTDATASERVICE_WSDL_LOCATION;
    }

}