My dear brothers and sisters in Perl I beg your assistance,
I am lost in a twisty maze of TFM's and my little brain is overflowing. The answer must be there somewhere but I am going snowblind from staring at reams of virgin white manpages.
<?xml version="1.0" encoding="ISO-8859-1"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/env +elope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/enco +ding/"> <SOAP-ENV:Body><SOAP-CHK:Success xmlns:SOAP-CHK = "http://soa +ptest1/soaptest/" xmlns="urn:candle-soap:attributes"><TABLE name="KMQ +.QMEVENTC"> <OBJECT>Current_Events</OBJECT> <DATA> <ROW> <Origin_Node>TQTHSL1:HSL:MQ</Origin_Node> <Reporting_MQ_Manager_Name>TQTHSL1</Reporting_MQ_Manager_Name> <Reporting_Host_Name>hsl</Reporting_Host_Name> <Event_ID>C0000000</Event_ID> <Event dt="number">Channel_Stopped</Event> <Event_Date_and_Time>1050810083840000</Event_Date_and_Time> </ROW> <ROW> <Origin_Node>TQTHSL1:HSL:MQ</Origin_Node> <Reporting_MQ_Manager_Name>TQTHSL1</Reporting_MQ_Manager_Name> <Reporting_Host_Name>hsl</Reporting_Host_Name> <Event_ID>C0000001</Event_ID> <Event dt="number">Channel_Stopped</Event> <Event_Date_and_Time>1050810083842000</Event_Date_and_Time> </ROW> <ROW> <Origin_Node>TQTHSL1:HSL:MQ</Origin_Node> <Reporting_MQ_Manager_Name>TQTHSL1</Reporting_MQ_Manager_Name> <Reporting_Host_Name>hsl</Reporting_Host_Name> <Event_ID>C0000002</Event_ID> <Event dt="number">Channel_Stopped</Event> <Event_Date_and_Time>1050810083843000</Event_Date_and_Time> </ROW> </DATA> </TABLE> </SOAP-CHK:Success></SOAP-ENV:Body></SOAP-ENV:Envelope>
However when I remove the $soap -> outputxml(1) directive and let SOAP::Lite pass it off to the parser I only get the last row of data in the result (I am checking paramsout() as well, here is what I get back.
Got result: HASH(0x207f2ed8) $VAR1 = { 'OBJECT' => 'Current_Events', 'DATA' => { 'ROW' => { 'Event' => 'Channel_Stopped', 'Event_ID' => 'C0000002', 'MQ_Manager_Subsystem' => '', 'Event_Date_and_Time' => '1050810083843000', 'Reporting_Host_Name' => 'hsl', 'Origin_Node' => 'TQTHSL1:HSL:MQ', 'Reporting_MQ_Manager_Name' => 'TQTHSL1', 'Event_Host_Name' => 'hsl', 'Application_Identifier' => '', 'Event_MQ_Manager_Name' => 'TQTHSL1', } } }; Got paramsall: HASH(0x207f2ed8) Got paramsout:
Cheers,
R.
In reply to XML Parser clobbering Multiple occurances of element by Random_Walk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |