We'll shove a method in SOAP::Lite's deserializer
package Arachna::SOAP::Vector;
BEGIN {
sub SOAP::XMLSchemaApacheSOAP::Deserializer::as_Vector {
my $self = shift;
[ map { scalar(($self->decode_object($_))[1]) } @{$_[3] || []} ];
} # as_Vector
}
1;
Since our Java SOAP service is providing a Vector object (which is really just
an array), we'll need to coerce Perl into giving us the array it should be.