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


In reply to Re^2: convert SOAP message to perl data structure by caribesoft
in thread convert SOAP message to perl data structure by caribesoft

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.