Click here to get back home

Help with SOAP::Lite

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Help with SOAP::Lite Sean O'Dwyer 01-19-2005
Posted by Sean O'Dwyer on January 19, 2005, 11:35 pm
Please log in for more thread options
Hello. Newbie here.

I've been able to implement 2 out of 3 functions for a client using
SOAP::Lite. In all cases $endpoint is a full URL pointing to a WSDL
document. And in all cases I suspect I'm doing things a bit oddly,
though functions 1 and 2 give me what I want.



1st function works nicely...

my $reply = SOAP::Lite
-> service($endpoint)
-> SystemCheck($uid,$pwd,$src);

This returns $reply as 0 or 1 depending on the validity of the Password
and User ID.




2nd function also works nicely...

my @optionlist = SOAP::Lite
-> service($endpoint)
-> GetCountryOptionList();

This returns a stream of HTML <OPTION> values to $optionlist[1] which I
can parse, sort, and drop into a <SELECT> pop-up menu.




3rd function doesn't work as expected...

my $response = SOAP::Lite
-> service($endpoint)
-> ProcessData($uid,$pwd,$firstname,$lastname,$add1,$add2,$add3,$add4);

Like the first example, this *should* return a 0 or 1 to $response but
I'm getting nothing. I'm also not sure how to check the values of fault
as $response->fault causes an undefined method error.

Any help would be much appreciated.

Sean


Similar ThreadsPosted
SOAP::Lite : Problem of # sign added by SOAP::Lite in the sent SOAPActionstring November 5, 2004, 8:45 pm
SOAP::Lite WSDL method with multiple soap:body parts February 16, 2005, 3:32 pm
Writing a HTML/ASP SOAP client for a SOAP::Lite destination March 16, 2005, 5:19 pm
SOAP::Lite March 3, 2005, 6:13 am
Using SOAP::Lite and .NET November 16, 2005, 2:12 pm
SOAP::Lite March 5, 2007, 4:26 am
use SOAP::Lite +autodispatch ??? November 23, 2004, 3:12 am
SOAP::Lite weirdness April 6, 2006, 8:07 am
ForkOnAccept for SOAP::Lite TCP server November 27, 2004, 11:32 am
Soap::Lite Cant get array of results? March 30, 2005, 12:43 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap