28a92fcc0ea2c60039fb710836cfa706507348db.svn-base 2.02 KB

package com.thinkgem.jeesite.modules.reg.web.bus.regist;

/**
 * Please modify this class to meet your needs
 * This class is not complete
 */

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.Action;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

/**
 * This class was generated by Apache CXF 3.1.12
 * 2017-09-11T17:54:11.714+08:00
 * Generated source version: 3.1.12
 * 
 */
public final class RegistrationLogDataExchangePortType_IUaccessService4RegLogHttpEndpoint_Client {

    private static final QName SERVICE_NAME = new QName("http://loushang.ws", "registrationLog.dataExchange");

    private RegistrationLogDataExchangePortType_IUaccessService4RegLogHttpEndpoint_Client() {
    }

    public static void main(String args[]) throws java.lang.Exception {
        URL wsdlURL = RegistrationLogDataExchange.WSDL_LOCATION;
        if (args.length > 0 && args[0] != null && !"".equals(args[0])) { 
            File wsdlFile = new File(args[0]);
            try {
                if (wsdlFile.exists()) {
                    wsdlURL = wsdlFile.toURI().toURL();
                } else {
                    wsdlURL = new URL(args[0]);
                }
            } catch (MalformedURLException e) {
                e.printStackTrace();
            }
        }
      
        RegistrationLogDataExchange ss = new RegistrationLogDataExchange(wsdlURL, SERVICE_NAME);
        RegistrationLogDataExchangePortType port = ss.getIUaccessService4RegLogHttpEndpoint();  
        
        {
        System.out.println("Invoking exchangeInfo...");
        java.lang.String _exchangeInfo_args0 = "";
        java.lang.String _exchangeInfo__return = port.exchangeInfo(_exchangeInfo_args0);
        System.out.println("exchangeInfo.result=" + _exchangeInfo__return);


        }

        System.exit(0);
    }

}