CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate:
SOAP::Lite with WSDL


New User

Dec 1, 2010, 9:40 AM

Post #1 of 1 (573 views)
SOAP::Lite with WSDL Can't Post


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.
print Dumper($testvar);

# Now I want to do the following... Doesn't work... The result is empty.


Thanks for your help!

Jeffrey Kevin Pry


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives