
package com.americamovil.dda._1.f.enviacontenido;

/**
 * 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;

/**
 * This class was generated by Apache CXF 2.7.6
 * 2016-08-19T10:55:35.354-05:00
 * Generated source version: 2.7.6
 * 
 */
public final class SIContenidoOut_HTTPSPort_Client {

    private static final QName SERVICE_NAME = new QName("http://americamovil.com/DDA/1/F/EnviaContenido", "SYS_AM_1_DDA_DEV_SI_Contenido_Out_x_x");

    private SIContenidoOut_HTTPSPort_Client() {
    }

    public static void main(String args[]) throws java.lang.Exception {
        URL wsdlURL = SYSAM1DDADEVSIContenidoOutXX.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();
            }
        }
      
        SYSAM1DDADEVSIContenidoOutXX ss = new SYSAM1DDADEVSIContenidoOutXX(wsdlURL, SERVICE_NAME);
        SIContenidoOut port = ss.getHTTPSPort();  
        
        {
        System.out.println("Invoking enviaContenido...");
        com.americamovil.dda._1.f.enviacontenido.DTContenido _enviaContenido_mtContenido = null;
        com.americamovil.dda._1.f.enviacontenido.DTContenidoRes _enviaContenido__return = port.enviaContenido(_enviaContenido_mtContenido);
        System.out.println("enviaContenido.result=" + _enviaContenido__return);


        }

        System.exit(0);
    }

}
