BasicHttpBinding_IService / Enviar
ASP AutoIt C C (Unicode) C++ C++ (Unicode) C# DataFlex Delphi Foxpro Go Java Node.js Objective-C Perl PHP Extension PowerBuilder Powershell PureBasic Python CkPython Ruby SQL Server Swift TCL VB.NET VB6 VBScript Xojo
$oXml = ObjCreate("Chilkat_9_5_0.Xml")
$oXml.Tag = "soapenv:Envelope"
$oXml.AddAttribute("xmlns:soapenv","http://schemas.xmlsoap.org/soap/envelope/")
$oXml.AddAttribute("xmlns:tem","http://tempuri.org/")
$oXml.AddAttribute("xmlns:ser","http://schemas.datacontract.org/2004/07/Services.ObjComprobante.v1_0")
$oXml.UpdateChildContent "soapenv:Header",""
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:tokenEmpresa","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:tokenPassword","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:codigoSucursalEmisor","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:tipoSucursal","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:tipoEmision","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:fechaInicioContingencia","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:motivoContingencia","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:tipoDocumento","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:numeroDocumentoFiscal","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:puntoFacturacionFiscal","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:fechaEmision","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:fechaSalida","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:naturalezaOperacion","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:tipoOperacion","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:destinoOperacion","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:formatoCAFE","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:entregaCAFE","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:envioContenedor","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:procesoGeneracion","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:tipoVenta","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:informacionInteres","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:cliente|ser:tipoClienteFE","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:cliente|ser:tipoContribuyente","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:cliente|ser:numeroRUC","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:cliente|ser:digitoVerificadorRUC","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:cliente|ser:razonSocial","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:cliente|ser:direccion","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:cliente|ser:codigoUbicacion","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:cliente|ser:provincia","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:cliente|ser:distrito","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:cliente|ser:corregimiento","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:cliente|ser:tipoIdentificacion","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:cliente|ser:nroIdentificacionExtranjero","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:cliente|ser:paisExtranjero","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:cliente|ser:telefono1","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:cliente|ser:telefono2","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:cliente|ser:telefono3","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:cliente|ser:correoElectronico1","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:cliente|ser:correoElectronico2","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:cliente|ser:correoElectronico3","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:cliente|ser:pais","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:cliente|ser:paisOtro","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:datosFacturaExportacion|ser:condicionesEntrega","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:datosFacturaExportacion|ser:monedaOperExportacion","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:datosFacturaExportacion|ser:monedaOperExportacionNonDef","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:datosFacturaExportacion|ser:tipoDeCambio","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:datosFacturaExportacion|ser:montoMonedaExtranjera","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:datosFacturaExportacion|ser:puertoEmbarque","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:listaDocsFiscalReferenciados|ser:docFiscalReferenciado|ser:fechaEmisionDocFiscalReferenciado","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:listaDocsFiscalReferenciados|ser:docFiscalReferenciado|ser:cufeFEReferenciada","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:listaDocsFiscalReferenciados|ser:docFiscalReferenciado|ser:nroFacturaPapel","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:listaDocsFiscalReferenciados|ser:docFiscalReferenciado|ser:nroFacturaImpFiscal","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:listaAutorizadosDescargaFEyEventos|ser:autorizadoDescargaFEyEventos|ser:tipoContribuyente","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:listaAutorizadosDescargaFEyEventos|ser:autorizadoDescargaFEyEventos|ser:rucReceptor","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:datosTransaccion|ser:listaAutorizadosDescargaFEyEventos|ser:autorizadoDescargaFEyEventos|ser:digitoVerifRucReceptor","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:descripcion","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:codigo","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:unidadMedida","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:cantidad","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:fechaFabricacion","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:fechaCaducidad","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:codigoCPBSAbrev","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:codigoCPBS","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:unidadMedidaCPBS","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:infoItem","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:precioUnitario","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:precioUnitarioDescuento","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:precioItem","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:precioAcarreo","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:precioSeguro","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:valorTotal","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:codigoGTIN","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:cantGTINCom","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:codigoGTINInv","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:cantGTINComInv","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:tasaITBMS","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:valorITBMS","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:tasaISC","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:valorISC","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:listaItemOTI|ser:oti|ser:tasaOTI","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:listaItemOTI|ser:oti|ser:valorTasa","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:vehiculo|ser:modalidadOperacionVenta","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:vehiculo|ser:modalidadOperacionVentaNoDef","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:vehiculo|ser:chasis","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:vehiculo|ser:codigoColor","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:vehiculo|ser:colorNombre","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:vehiculo|ser:potenciaMotor","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:vehiculo|ser:capacidadMotor","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:vehiculo|ser:pesoNeto","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:vehiculo|ser:pesoBruto","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:vehiculo|ser:tipoCombustible","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:vehiculo|ser:tipoCombustibleNoDef","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:vehiculo|ser:numeroMotor","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:vehiculo|ser:capacidadTraccion","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:vehiculo|ser:distanciaEjes","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:vehiculo|ser:anoModelo","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:vehiculo|ser:anoFabricacion","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:vehiculo|ser:tipoPintura","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:vehiculo|ser:tipoPinturaNodef","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:vehiculo|ser:tipoVehiculo","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:vehiculo|ser:usoVehiculo","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:vehiculo|ser:condicionVehiculo","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:vehiculo|ser:capacidadPasajeros","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:medicina|ser:nroLote","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:medicina|ser:cantProductosLote","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:pedidoComercialItem|ser:nroPedidoCompraItem","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:pedidoComercialItem|ser:nroItem","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaItems|ser:item|ser:pedidoComercialItem|ser:infoItem","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:totalPrecioNeto","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:totalITBMS","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:totalISC","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:totalMontoGravado","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:totalDescuento","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:totalAcarreoCobrado","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:valorSeguroCobrado","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:totalFactura","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:totalValorRecibido","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:vuelto","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:tiempoPago","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:nroItems","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:totalTodosItems","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:listaDescBonificacion|ser:descuentoBonificacion|ser:descDescuento","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:listaDescBonificacion|ser:descuentoBonificacion|ser:montoDescuento","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:listaFormaPago|ser:formaPago|ser:formaPagoFact","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:listaFormaPago|ser:formaPago|ser:descFormaPago","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:listaFormaPago|ser:formaPago|ser:valorCuotaPagada","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:retencion|ser:codigoRetencion","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:retencion|ser:montoRetencion","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:listaPagoPlazo|ser:pagoPlazo|ser:fechaVenceCuota","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:listaPagoPlazo|ser:pagoPlazo|ser:valorCuota","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:listaPagoPlazo|ser:pagoPlazo|ser:infoPagoCuota","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:listaTotalOTI|ser:totalOti|ser:codigoTotalOTI","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:totalesSubTotales|ser:listaTotalOTI|ser:totalOti|ser:valorTotalOTI","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:pedidoComercialGlobal|ser:nroPedidoCompraGlobal","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:pedidoComercialGlobal|ser:listaNroAceptacion|ser:nroAceptacion","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:pedidoComercialGlobal|ser:codigoReceptor","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:pedidoComercialGlobal|ser:codigoSistemaEmisor","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:pedidoComercialGlobal|ser:infoPedido","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:infoLogistica|ser:nroVolumenes","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:infoLogistica|ser:pesoCarga","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:infoLogistica|ser:unidadPesoTotal","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:infoLogistica|ser:licVehiculoCarga","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:infoLogistica|ser:razonSocialTransportista","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:infoLogistica|ser:tipoRucTransportista","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:infoLogistica|ser:rucTransportista","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:infoLogistica|ser:digitoVerifRucTransportista","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:infoLogistica|ser:infoLogisticaEmisor","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:infoEntrega|ser:tipoRucEntrega","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:infoEntrega|ser:numeroRucEntrega","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:infoEntrega|ser:digitoVerifRucEntrega","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:infoEntrega|ser:razonSocialEntrega","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:infoEntrega|ser:direccionEntrega","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:infoEntrega|ser:codigoUbicacionEntrega","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:infoEntrega|ser:provinciaEntrega","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:infoEntrega|ser:distritoEntrega","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:infoEntrega|ser:corregimientoEntrega","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:infoEntrega|ser:telefonoEntrega","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:infoEntrega|ser:telefonoEntregaAlt","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:usoPosterior|ser:cufe","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaExtras|ser:extra|ser:attribute","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaExtras|ser:extra|ser:enabled","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaExtras|ser:extra|ser:id","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaExtras|ser:extra|ser:orden","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:listaExtras|ser:extra|ser:value","string"
$oXml.UpdateChildContent "soapenv:Body|tem:Enviar|tem:documento|ser:serialDispositivo","string"
; In a SOAP HTTP request, including the XML declaration (<?xml version="1.0" encoding="UTF-8"?>) in the XML body is generally not required.
$oXml.EmitXmlDecl = False
Local $soapRequestBody = $oXml.GetXml()
Local $sEndpoint = "http://demoemision.thefactoryhka.com.pa/ws/obj/v1.0/Service.svc"
Local $soapAction = "http://tempuri.org/IService/Enviar"
; For SOAP requests, the standard Content-Type is usually set to "text/xml" or "application/soap+xml"
Local $sContentType = "text/xml"
$oHttp = ObjCreate("Chilkat_9_5_0.Http")
$oHttp.ClearHeaders
$oHttp.SetRequestHeader "Content-Type",$sContentType
$oHttp.SetRequestHeader "SOAPAction",$soapAction
Local $oResp = $oHttp.PostXml($sEndpoint,$soapRequestBody,"utf-8")
If ($oHttp.LastMethodSuccess = False) Then
ConsoleWrite($oHttp.LastErrorText & @CRLF)
ConsoleWrite("Failed to send SOAP request." & @CRLF)
Exit
EndIf
; Get the XML response body.
$oResponseXml = ObjCreate("Chilkat_9_5_0.Xml")
$oResp.GetBodyXml($oResponseXml)
Local $iStatusCode = $oResp.StatusCode
ConsoleWrite("response status code: " & $iStatusCode & @CRLF)
; If the status code does not indicate succcess, then show the response XML,
; which probably contains error information.
If ($iStatusCode <> 200) Then
ConsoleWrite($oResponseXml.GetXml() & @CRLF)
Exit
EndIf
ConsoleWrite($oResponseXml.GetXml() & @CRLF)
; Parse the successful SOAP response XML.
; This is a sample of the response XML, but the namespace prefixes will be different.
; We can parse the result using "*" for the namespace prefixes (see below).
Local $sCodigo = $oResponseXml.GetChildContent("*:Body|*:EnviarResponse|*:EnviarResult|*:codigo")
Local $sResultado = $oResponseXml.GetChildContent("*:Body|*:EnviarResponse|*:EnviarResult|*:resultado")
Local $sMensaje = $oResponseXml.GetChildContent("*:Body|*:EnviarResponse|*:EnviarResult|*:mensaje")
Local $sCufe = $oResponseXml.GetChildContent("*:Body|*:EnviarResponse|*:EnviarResult|*:cufe")
Local $sQr = $oResponseXml.GetChildContent("*:Body|*:EnviarResponse|*:EnviarResult|*:qr")
Local $sFechaRecepcionDGI = $oResponseXml.GetChildContent("*:Body|*:EnviarResponse|*:EnviarResult|*:fechaRecepcionDGI")
Local $sNroProtocoloAutorizacion = $oResponseXml.GetChildContent("*:Body|*:EnviarResponse|*:EnviarResult|*:nroProtocoloAutorizacion")
Local $sFechaLimite = $oResponseXml.GetChildContent("*:Body|*:EnviarResponse|*:EnviarResult|*:fechaLimite")