in reply to SOAP::Lite Hello World Help

abhishes, try placing use SOAP::Lite +trace => debug; in your client script.

Using the example posted, I see >Failed to access class (Example1) : Can't locate Example1.pm in @INC (@INC contains:) in the debug output.

From here, just a few changes.

my $name = shift; print "The soap server says "; print SOAP::Lite ->uri('urn:Hello') # replace with Hello class ->proxy('http://localhost/cgi-bin/HelloSoap.plx') ->sayHello($name) # removes tics ->result. "\n\n";
C:\web>helloclient.pl "Perl Monks!"
The soap server says Hello Perl Monks!

hope this helps.
cheers, -semio

Replies are listed 'Best First'.
Re: Re: SOAP::Lite Hello World Help
by Anonymous Monk on Sep 10, 2002 at 10:47 UTC
    Bingo !!!. You did it.

    Yes. It works for me now. The namespace was wrong.
    When I changed it to urn:Hello it works for me as well.
    Thank you so much.

    regards,
    Abhishek.