2023-06-20 12:07:36 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
|
|
|
|
<soap12:Body>
|
|
|
|
<PutExpedicionInternacional xmlns="http://82.223.6.71:82">
|
|
|
|
<ObjetoEnvio>
|
2023-07-18 05:56:44 +00:00
|
|
|
<Peso><%= viaexpressConfig.defaultWeight %></Peso>
|
2023-06-20 12:07:36 +00:00
|
|
|
<Bultos>1</Bultos>
|
|
|
|
<Reembolso>0</Reembolso>
|
2023-07-18 05:56:44 +00:00
|
|
|
<Fecha><%= shipped %></Fecha>
|
2023-06-20 12:07:36 +00:00
|
|
|
<ConRetorno>0</ConRetorno>
|
2023-07-18 05:56:44 +00:00
|
|
|
<Tipo><%= viaexpressConfig.deliveryType %></Tipo>
|
2023-06-20 12:07:36 +00:00
|
|
|
<Debidos>0</Debidos>
|
|
|
|
<Asegurado>0</Asegurado>
|
|
|
|
<Imprimir>0</Imprimir>
|
|
|
|
<ConDevolucionAlbaran>0</ConDevolucionAlbaran>
|
|
|
|
<Intradia>0</Intradia>
|
|
|
|
<Observaciones></Observaciones>
|
|
|
|
<AlbaranRemitente></AlbaranRemitente>
|
|
|
|
<Modo>0</Modo>
|
|
|
|
<TextoAgencia></TextoAgencia>
|
|
|
|
<Terminal></Terminal>
|
|
|
|
<ObjetoRemitente>
|
2023-07-18 05:56:44 +00:00
|
|
|
<RazonSocial><%= sender.socialName %></RazonSocial>
|
|
|
|
<Domicilio><%= senderAddress.street %></Domicilio>
|
|
|
|
<Cpostal><%= senderAddress.postalCode %></Cpostal>
|
|
|
|
<Poblacion><%= senderAddress.city %></Poblacion>
|
|
|
|
<Provincia><%= senderAddress.province().name %></Provincia>
|
2023-06-20 12:07:36 +00:00
|
|
|
<Contacto></Contacto>
|
2023-07-18 05:56:44 +00:00
|
|
|
<Telefono><%= senderAddress.mobile || senderAddress.phone || sender.mobile || sender.phone %></Telefono>
|
|
|
|
<Email><%= sender.email %></Email>
|
2023-06-20 12:07:36 +00:00
|
|
|
</ObjetoRemitente>
|
|
|
|
<ObjetoDestinatario>
|
2023-07-18 05:56:44 +00:00
|
|
|
<RazonSocial><%= address.nickname %></RazonSocial>
|
|
|
|
<Domicilio><%= address.street %></Domicilio>
|
|
|
|
<Cpostal><%= address.postalCode %></Cpostal>
|
|
|
|
<Poblacion><%= address.city %></Poblacion>
|
2023-06-20 12:07:36 +00:00
|
|
|
<Municipio></Municipio>
|
2023-07-18 05:56:44 +00:00
|
|
|
<Provincia><%= address.province().name %></Provincia>
|
2023-06-20 12:07:36 +00:00
|
|
|
<Contacto></Contacto>
|
2023-07-18 05:56:44 +00:00
|
|
|
<Telefono><%= address.mobile || address.phone || client.mobile || client.phone %></Telefono>
|
|
|
|
<Email><%= client.email %></Email>
|
|
|
|
<Pais><%= address.province().country().code %></Pais>
|
2023-06-20 12:07:36 +00:00
|
|
|
</ObjetoDestinatario>
|
|
|
|
<ObjetoLogin>
|
2023-07-18 05:56:44 +00:00
|
|
|
<IdCliente><%= viaexpressConfig.client %></IdCliente>
|
|
|
|
<Usuario><%= viaexpressConfig.user %></Usuario>
|
|
|
|
<Password><%= viaexpressConfig.password %></Password>
|
2023-06-20 12:07:36 +00:00
|
|
|
</ObjetoLogin>
|
|
|
|
</ObjetoEnvio>
|
|
|
|
</PutExpedicionInternacional>
|
|
|
|
</soap12:Body>
|
|
|
|
</soap12:Envelope>
|