in reply to Re: convert SOAP message to perl data structure
in thread convert SOAP message to perl data structure
Hi mav3067 :
Thanks for your help, this is what I get as "Response" :
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" +xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body><consultaUnManifiestoResponse xmlns="http://Recintos/Servic +iosWebXml/"><consultaUnManifiestoResult> <error>0</error> <descripError /><registros>1</registros> <man><nTrans>465</nTrans> <cTransp>HYBU</cTransp> <idTransp>7116834 </idTransp> <nomBuque>ARGOSY</nomBuque> <numViaje>416 SB MEX</numViaje> <fecEstimada>15/12/2004 12:00:00 AM</fecEstimada> <tipoOper>1</tipoOper> <lineaNaviera>NAVIERA VICANE</lineaNaviera> <fecRecibe>14/12/2004 4:09:46 PM</fecRecibe> <cuAduana>53</cuAduana> <cuPais>ATG</cuPais> <cuPuerto>PMS</cuPuerto> <cuEntidadMan>1158</cuEntidadMan> <casos /></man><manifiestos><a nyType xsi:type="ObjManifiesto"> <nTrans>465</nTrans> <cTransp>HYBU</cTransp> <idTransp>7116834 </idTransp> <nomBuque>ARGOSY</nomBuque> <numViaje>416 SB MEX</numViaje> <fecEstimada>15/12/2004 12:00:00 AM</fecEstimada> <tipoOper>1</tipoOper> <lineaNaviera>NAVIERA VICANE</lineaNaviera> <fecRecibe>14/12/2004 4:09:46 PM</fecRecibe> <cuAduana>53</cuAduana> <cuPais>ATG</cuPais><cuPuerto>PMS</cuPuerto> <cuEntidadMan>1158</cuEntidadMan> <casos /></anyType></manifiestos> </consultaUnManifiestoR esult></consultaUnManifiestoResponse></soap:Body></soap:Envelope>
How can I convert to Perl data structure or insert into a Mysql table ??
Again, thanks for your help,
Caribesoft.
20060712 Janitored by Corion: Added formatting, code tags, as per Writeup Formatting Tips
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: convert SOAP message to perl data structure
by gellyfish (Monsignor) on Jul 12, 2006 at 08:32 UTC | |
by Anonymous Monk on Jul 13, 2006 at 15:33 UTC | |
by gellyfish (Monsignor) on Jul 13, 2006 at 15:53 UTC |