Main | How to nest XML elements using SOAP::Lite »

Comments

I don't think this

# Loop through the results
foreach my $result (@{$results->{'result'}}) {
print $result->{airlineName} . ": " . $result->{fare} . "\n";
}

can ever work. $results is a SOAP::SOM object which does not have 'result' key -- the only keys are
'_content' and '_current'

Gary Grubb

Would you happen to know how to pass an array, e.g @myArray as an argument in SOAP::Lite. ?

I currently pass stings in the form:

SOAP::Data->name('modelOptions' => $modelOptions)->type(string)

but I would prefer to pass an array instead. Any suggestions?

Thanks in advance,

Gary Grubb
gary_grubb@agilent.com

The comments to this entry are closed.