Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: SOAP::Lite Quickstart demo Use of uninitialized value in pattern match (m//)

by philosophia (Sexton)
on Jul 10, 2006 at 20:51 UTC ( #560227=note: print w/replies, xml ) Need Help??


in reply to Re^2: SOAP::Lite Quickstart demo Use of uninitialized value in pattern match (m//)
in thread SOAP::Lite Quickstart demo Use of uninitialized value in pattern match (m//)

one other thing is that the quickstart files also contain a file called 'Demo.pm' - which is in the same directory

package Demo; # -- SOAP::Lite -- guide.soaplite.com -- Copyright (C) 2001 Paul Kulch +enko -- sub hi { return "hello, world"; } sub bye { return "goodbye, cruel world"; } sub languages { return ("Perl", "C", "sh"); } 1;
so if hibye.pl's uri parameter is looking for a .pm called 'Demo' in the soaplite directory, it is there.
  • Comment on Re^3: SOAP::Lite Quickstart demo Use of uninitialized value in pattern match (m//)
  • Download Code

Replies are listed 'Best First'.
Re^4: SOAP::Lite Quickstart demo Use of uninitialized value in pattern match (m//)
by philosophia (Sexton) on Jul 10, 2006 at 21:02 UTC
    I fixed it, thanks for the debugging advice.

    the uri line was wrong. it should look like
    #!/usr/bin/perl -w # -- SOAP::Lite -- guide.soaplite.com -- Copyright (C) 2001 Paul Kulch +enko -- use SOAP::Lite; #use SOAP::Lite +trace => [qw/ debug method fault /]; print SOAP::Lite -> uri('http://tangerine.uchicago.edu/Demo') -> proxy('http://tangerine.uchicago.edu/cgi-bin/soaplite/hibye.cgi') -> hi() -> result;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://560227]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2022-05-25 19:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (90 votes). Check out past polls.

    Notices?