Syntactic Confectionery Delight | |
PerlMonks |
Re: SOAP array construction with SOAP::Data::ComplexTypeby erroneousBollock (Curate) |
on Nov 19, 2007 at 13:39 UTC ( [id://651660]=note: print w/replies, xml ) | Need Help?? |
I was tired of writing a large complex data with plain SOAP::Data and was so glad to have found SOAP::Data::ComplexTypeStop right there. You don't have to construct SOAP::Data hierarchies by hand!. Use SOAP::WSDL (instead of SOAP::Lite), which
I simply cannot believe how many folks are doing this the hard way. It's almost like Perl-based users of SOAP hate themselves ;) A service method Foo expecting an array of xsd:string elements for the argument called 'Words' can be called as follows: $soap->Foo(Words => [qw/this is a test!/]); No need to hand-construct anything under SOAP::Data at all. -David
In Section
Seekers of Perl Wisdom
|
|