
package org.openuri;

/**
 * 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.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.Action;

/**
 * This class was generated by Apache CXF 2.4.6
 * 2014-02-04T14:07:33.266+01:00
 * Generated source version: 2.4.6
 * 
 */
public final class SincronPortType_SincronSOAP11PortHttp_Client {

    private static final QName SERVICE_NAME = new QName("http://www.openuri.org/", "Sincron");

    private SincronPortType_SincronSOAP11PortHttp_Client() {
    }

    public static void main(String args[]) throws java.lang.Exception {
        URL wsdlURL = Sincron.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();
            }
        }
      
        Sincron ss = new Sincron(wsdlURL, SERVICE_NAME);
        SincronPortType port = ss.getSincronSOAP11PortHttp();  
        
        {
        System.out.println("Invoking procesa...");
        org.openuri.Procesa _procesa_part1 = null;
        org.openuri.ProcesaResponse _procesa__return = port.procesa(_procesa_part1);
        System.out.println("procesa.result=" + _procesa__return);


        }

        System.exit(0);
    }

}
