#!/usr/bin/perl -- use strict; use warnings; use SOAP::Lite +trace => 'debug', readable => 1; print "\$SOAP::Lite::VERSION: $SOAP::Lite::VERSION\n"; my $soap = SOAP::Lite -> uri('http://127.0.0.1/MyModule') -> proxy('http://127.0.0.1:1203') ;;;;;;;;; $soap->envprefix('SOAP-ENV'); $soap->encprefix('SOAP-ENC'); $soap->soapversion('1.1'); my $xml = "\n\n\n\n\t0\n\t\n\n\t\t\t\t\t\n\n\n19288\n19289\n60107\n71897\n\n\nBlabla1\nBlabla2\nBla M\x{fc}nchen\nBla\x{fc}rm B\x{c4}R\n\n\n-8423\n-8426\n-8425\n-8428\n\n\n2015-11-23T09:32:23\n2015-11-26T14:55:52\n2015-11-26T08:07:26\n2015-11-27T09:26:25\n\n\n2015-11-23T09:30:54\n2015-11-26T14:52:06\n2015-11-25T10:33:27\n2015-11-27T09:24:05\n\n\n\n"; utf8::upgrade($xml); ## grr $soap->deserializer->deserialize( $xml ); use Data::Dumper(); print Data::Dumper::Dumper( $soap->deserializer->deserialize( $xml ) ); __END__ $SOAP::Lite::VERSION: 1.19 $VAR1 = bless( { '_content' => [ 'SOAP-ENV:Envelope', { 'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance', 'xmlns:SOAP-ENC' => 'http://schemas.xmlsoap.org/soap/encoding/', 'xmlns:SOAP-ENV' => 'http://schemas.xmlsoap.org/soap/envelope/', 'xmlns:xsd' => 'http://www.w3.org/2001/XMLSchema', 'SOAP-ENV:encodingStyle' => 'http://schemas.xmlsoap.org/soap/encoding/' }, [ [ 'SOAP-ENV:Body', {}, [ [ 'ns1:SOAP_GetFirmenlisteResponse', { 'xmlns:ns1' => 'http://www.4d.com/namespace/default' }, [ [ 'ERRORNUM', { 'xsi:type' => 'xsd:int' }, '0', undef, '0', 'ERRORNUM', { 'xsi:type' => 'xsd:int', '{http://www.w3.org/2001/XMLSchema-instance}type' => '{http://www.w3.org/2001/XMLSchema}int' } ], [ 'ERRORTEXT', { 'xsi:type' => 'xsd:string' }, ' ', undef, ' ', 'ERRORTEXT', { 'xsi:type' => 'xsd:string', '{http://www.w3.org/2001/XMLSchema-instance}type' => '{http://www.w3.org/2001/XMLSchema}string' } ], [ 'LISTE_KDLF_NR_ALS_IDS', { 'href' => '#ref-1' }, '', undef, [ '19288', '19289', '60107', '71897' ], 'LISTE_KDLF_NR_ALS_IDS', {} ], [ 'LISTE_SUCHNAMEN', { 'href' => '#ref-2' }, '', undef, [ 'Blabla1', 'Blabla2', "Bla M\x{fc}nchen", "Bla\x{fc}rm B\x{c4}R" ], 'LISTE_SUCHNAMEN', {} ], [ 'LISTE_LFD_NR', { 'href' => '#ref-3' }, '', undef, [ '-8423', '-8426', '-8425', '-8428' ], 'LISTE_LFD_NR', {} ], [ 'LISTE_TIMESTAMP_GEAENDERT', { 'href' => '#ref-4' }, '', undef, [ '2015-11-23T09:32:23', '2015-11-26T14:55:52', '2015-11-26T08:07:26', '2015-11-27T09:26:25' ], 'LISTE_TIMESTAMP_GEAENDERT', {} ], [ 'LISTE_TIMESTAMP_ERZEUGT', { 'href' => '#ref-5' }, '', undef, [ '2015-11-23T09:30:54', '2015-11-26T14:52:06', '2015-11-25T10:33:27', '2015-11-27T09:24:05' ], 'LISTE_TIMESTAMP_ERZEUGT', {} ] ], undef, { 'LISTE_TIMESTAMP_ERZEUGT' => $VAR1->{'_content'}[2][0][2][0][2][6][4], 'ERRORTEXT' => ' ', 'LISTE_LFD_NR' => $VAR1->{'_content'}[2][0][2][0][2][4][4], 'LISTE_SUCHNAMEN' => $VAR1->{'_content'}[2][0][2][0][2][3][4], 'ERRORNUM' => '0', 'LISTE_TIMESTAMP_GEAENDERT' => $VAR1->{'_content'}[2][0][2][0][2][5][4], 'LISTE_KDLF_NR_ALS_IDS' => $VAR1->{'_content'}[2][0][2][0][2][2][4] }, '{http://www.4d.com/namespace/default}SOAP_GetFirmenlisteResponse', {} ], [ 'SOAP-ENC:Array', { 'id' => 'ref-1', 'SOAP-ENC:arrayType' => 'xsd:string[4]' }, [ [ 'item1', {}, '19288', undef, '19288', 'item1', {} ], [ 'item2', {}, '19289', undef, '19289', 'item2', {} ], [ 'item3', {}, '60107', undef, '60107', 'item3', {} ], [ 'item4', {}, '71897', undef, '71897', 'item4', {} ] ], undef, $VAR1->{'_content'}[2][0][2][0][2][2][4], '{http://schemas.xmlsoap.org/soap/encoding/}Array', { 'id' => 'ref-1', '{http://schemas.xmlsoap.org/soap/encoding/}arrayType' => '{http://www.w3.org/2001/XMLSchema}string[4]', 'SOAP-ENC:arrayType' => 'xsd:string[4]' } ], [ 'SOAP-ENC:Array', { 'id' => 'ref-2', 'SOAP-ENC:arrayType' => 'xsd:string[4]' }, [ [ 'item1', {}, 'Blabla1', undef, 'Blabla1', 'item1', {} ], [ 'item2', {}, 'Blabla2', undef, 'Blabla2', 'item2', {} ], [ 'item3', {}, "Bla M\x{fc}nchen", undef, "Bla M\x{fc}nchen", 'item3', {} ], [ 'item4', {}, "Bla\x{fc}rm B\x{c4}R", undef, "Bla\x{fc}rm B\x{c4}R", 'item4', {} ] ], undef, $VAR1->{'_content'}[2][0][2][0][2][3][4], '{http://schemas.xmlsoap.org/soap/encoding/}Array', { 'id' => 'ref-2', '{http://schemas.xmlsoap.org/soap/encoding/}arrayType' => '{http://www.w3.org/2001/XMLSchema}string[4]', 'SOAP-ENC:arrayType' => 'xsd:string[4]' } ], [ 'SOAP-ENC:Array', { 'id' => 'ref-3', 'SOAP-ENC:arrayType' => 'xsd:int[4]' }, [ [ 'item1', {}, '-8423', undef, '-8423', 'item1', {} ], [ 'item2', {}, '-8426', undef, '-8426', 'item2', {} ], [ 'item3', {}, '-8425', undef, '-8425', 'item3', {} ], [ 'item4', {}, '-8428', undef, '-8428', 'item4', {} ] ], undef, $VAR1->{'_content'}[2][0][2][0][2][4][4], '{http://schemas.xmlsoap.org/soap/encoding/}Array', { 'id' => 'ref-3', '{http://schemas.xmlsoap.org/soap/encoding/}arrayType' => '{http://www.w3.org/2001/XMLSchema}int[4]', 'SOAP-ENC:arrayType' => 'xsd:int[4]' } ], [ 'SOAP-ENC:Array', { 'id' => 'ref-4', 'SOAP-ENC:arrayType' => 'xsd:string[4]' }, [ [ 'item1', {}, '2015-11-23T09:32:23', undef, '2015-11-23T09:32:23', 'item1', {} ], [ 'item2', {}, '2015-11-26T14:55:52', undef, '2015-11-26T14:55:52', 'item2', {} ], [ 'item3', {}, '2015-11-26T08:07:26', undef, '2015-11-26T08:07:26', 'item3', {} ], [ 'item4', {}, '2015-11-27T09:26:25', undef, '2015-11-27T09:26:25', 'item4', {} ] ], undef, $VAR1->{'_content'}[2][0][2][0][2][5][4], '{http://schemas.xmlsoap.org/soap/encoding/}Array', { 'id' => 'ref-4', '{http://schemas.xmlsoap.org/soap/encoding/}arrayType' => '{http://www.w3.org/2001/XMLSchema}string[4]', 'SOAP-ENC:arrayType' => 'xsd:string[4]' } ], [ 'SOAP-ENC:Array', { 'id' => 'ref-5', 'SOAP-ENC:arrayType' => 'xsd:string[4]' }, [ [ 'item1', {}, '2015-11-23T09:30:54', undef, '2015-11-23T09:30:54', 'item1', {} ], [ 'item2', {}, '2015-11-26T14:52:06', undef, '2015-11-26T14:52:06', 'item2', {} ], [ 'item3', {}, '2015-11-25T10:33:27', undef, '2015-11-25T10:33:27', 'item3', {} ], [ 'item4', {}, '2015-11-27T09:24:05', undef, '2015-11-27T09:24:05', 'item4', {} ] ], undef, $VAR1->{'_content'}[2][0][2][0][2][6][4], '{http://schemas.xmlsoap.org/soap/encoding/}Array', { 'id' => 'ref-5', '{http://schemas.xmlsoap.org/soap/encoding/}arrayType' => '{http://www.w3.org/2001/XMLSchema}string[4]', 'SOAP-ENC:arrayType' => 'xsd:string[4]' } ] ], undef, { 'Array' => [ $VAR1->{'_content'}[2][0][2][0][2][2][4], $VAR1->{'_content'}[2][0][2][0][2][3][4], $VAR1->{'_content'}[2][0][2][0][2][4][4], $VAR1->{'_content'}[2][0][2][0][2][5][4], $VAR1->{'_content'}[2][0][2][0][2][6][4] ], 'SOAP_GetFirmenlisteResponse' => $VAR1->{'_content'}[2][0][2][0][4] }, '{http://schemas.xmlsoap.org/soap/envelope/}Body', {} ] ], undef, { 'Body' => $VAR1->{'_content'}[2][0][4] }, '{http://schemas.xmlsoap.org/soap/envelope/}Envelope', { 'SOAP-ENV:encodingStyle' => 'http://schemas.xmlsoap.org/soap/encoding/', '{http://schemas.xmlsoap.org/soap/envelope/}encodingStyle' => 'http://schemas.xmlsoap.org/soap/encoding/' } ], '_context' => undef, '_current' => [ $VAR1->{'_content'} ] }, 'SOAP::SOM' );