From: Jason S. <jas...@gm...> - 2008-09-12 04:40:06
|
Hey Martin, I dug a bit deeper. I see that the search methods are all working fine. The methods are create SOAP::Data objects and setting the value using set_value(o_value($pointer)) and o_value is defined as: sub o_value { $_[0]->[4] } Here is the value of $pointer: 0 ARRAY(0x87a7e08) 0 'soap:Body' 1 HASH(0x879e348) empty hash 2 ARRAY(0x87a7bc8) 0 ARRAY(0x879eeac) 0 'sayHello' 1 HASH(0x879e3c0) 'xmlns' => 'urn:HelloWorld' 2 ARRAY(0x879ebdc) 0 ARRAY(0x879e588) 0 'name' 1 HASH(0x879e480) empty hash 2 'Kutter' 3 undef 4 'Kutter' 5 '{urn:HelloWorld}name' 6 HASH(0x879e4f8) empty hash 1 ARRAY(0x879e918) 0 'givenName' 1 HASH(0x879e7b0) 'middleName' => 'windy' 2 'Martin' 3 undef 4 'Martin' 5 '{urn:HelloWorld}givenName' 6 HASH(0x879e858) 'middleName' => 'windy' 3 undef 4 HASH(0x879ecfc) 'givenName' => 'Martin' 'name' => 'Kutter' 5 '{urn:HelloWorld}sayHello' 6 HASH(0x879ee1c) empty hash 3 undef 4 HASH(0x87a7c88) 'sayHello' => HASH(0x84dc224) 'givenName' => 'Martin' 'name' => 'Kutter' 5 '{http://schemas.xmlsoap.org/soap/envelope/}Body' 6 HASH(0x87a7d78) empty hash Looking at the item at index 4 we cans see the hash representation has been stripped of all it's attributes. So.... Either these methods should not be doing set_value(o_value($pointer)), Or, the thing at index 4 is being constructed incorrectly for the SOM object. Cheers, jas. |