
package com.americamovil.dda._1.m.enviatitulo;

/**
 * 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.Oneway;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;

/**
 * This class was generated by Apache CXF 2.7.6
 * 2017-05-10T10:23:14.621-05:00
 * Generated source version: 2.7.6
 * 
 */
public final class SITituloOut_HTTPPort_Client {

    private static final QName SERVICE_NAME = new QName("http://americamovil.com/DDA/1/M/EnviaTitulo", "SYS_AM_1_DDA_DEV_SI_Titulo_Out_x_x");

    private SITituloOut_HTTPPort_Client() {
    }

    public static void main(String args[]) throws java.lang.Exception {
        URL wsdlURL = SYSAM1DDADEVSITituloOutXX.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();
            }
        }
      
        SYSAM1DDADEVSITituloOutXX ss = new SYSAM1DDADEVSITituloOutXX(wsdlURL, SERVICE_NAME);
        SITituloOut port = ss.getHTTPPort();  
        
        {
        System.out.println("Invoking enviaTitulo...");
        com.americamovil.dda._1.m.enviatitulo.DTTitulo _enviaTitulo_mtTitulo = null;
        port.enviaTitulo(_enviaTitulo_mtTitulo);


        }

        System.exit(0);
    }

}
