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

/**
 * 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-18T08:52:19.914-05:00
 * Generated source version: 2.7.6
 * 
 */
public final class SIPedidoCompraOut_HTTPSPort_Client {

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

    private SIPedidoCompraOut_HTTPSPort_Client() {
    }

    public static void main(String args[]) throws java.lang.Exception {
        URL wsdlURL = SYSAM1DDADEVSIPedidoCompraOutXX.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();
            }
        }
      
        SYSAM1DDADEVSIPedidoCompraOutXX ss = new SYSAM1DDADEVSIPedidoCompraOutXX(wsdlURL, SERVICE_NAME);
        SIPedidoCompraOut port = ss.getHTTPSPort();  
        
        {
        System.out.println("Invoking enviaPedidoCompra...");
        com.americamovil.dda._1.m.enviapedidocompra.DTPedidoCompra _enviaPedidoCompra_mtPedidoCompra = null;
        com.americamovil.dda._1.m.enviapedidocompra.DTPedidoCompraRes _enviaPedidoCompra__return = port.enviaPedidoCompra(_enviaPedidoCompra_mtPedidoCompra);
        System.out.println("enviaPedidoCompra.result=" + _enviaPedidoCompra__return);


        }

        System.exit(0);
    }

}
