Dec 1, 2010, 9:40 AM
Post #1 of 1
SOAP::Lite with WSDL
I am really having trouble with getting SOAP::Lite to function well when using a WSDL. Everywhere all over the internet people write tutorials but only address sending simple types to functions.
So I have two methods in a web service described by a WSDL. I use the following to retrieve all records the web service itself is returning exactly what I want (ArrayofPeople), which works fine. The problem is, I have another method where I need to pass in the ArrayofPeople from the first function but I can't seem to figure out how to take the result SOAP::Lite returns (a hash for some reason) and pass it back to another method.
my $soap = SOAP::Lite->new()
my $testvar= $soap->GetAllPeople();
# Print result as a tree.
# Now I want to do the following... Doesn't work... The result is empty.
Thanks for your help!
Jeffrey Kevin Pry