Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

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


in reply to Re: 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//)

I'm getting the following output with debugging:

perl hibye.pl SOAP::Serializer::envelope: hi SOAP::Transport::HTTP::Client::send_receive: POST http://tangerine.uch +icago.edu/cgi-bin/soaplite/hibye.cgi HTTP/1.1 Accept: text/xml Accept: multipart/* Accept: application/soap Content-Length: 448 Content-Type: text/xml; charset=utf-8 SOAPAction: "http://tangerine.uchicago.edu/cgi-bin/soaplite/Demo#hi" <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http:/ +/www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xm +lsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema +" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmln +s:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><hi xml +ns="http://tangerine.uchicago.edu/cgi-bin/soaplite/Demo" xsi:nil="tru +e" /></soap:Body></soap:Envelope> SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 500 Internal Ser +ver Error Connection: close Date: Mon, 10 Jul 2006 20:45:10 GMT Server: Apache/2.0.55 (Ubuntu) PHP/4.4.2-1build1 mod_ssl/2.0.55 OpenSS +L/0.9.8a Content-Length: 557 Content-Type: text/xml; charset=utf-8 Client-Date: Mon, 10 Jul 2006 20:45:10 GMT Client-Peer: 128.135.0.88:80 Client-Response-Num: 1 SOAPServer: SOAP::Lite/Perl/0.68 <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http:/ +/www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xm +lsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema +" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmln +s:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:F +ault><faultcode>soap:Client</faultcode><faultstring>Failed to access +class (cgi-bin::soaplite::Demo) at /usr/local/share/perl/5.8.7/SOAP/L +ite.pm line 2463. </faultstring></soap:Fault></soap:Body></soap:Envelope> >

does this mean my uri line is wrong? I'm not sure what would be the correct uri value.
  • Comment on Re^2: SOAP::Lite Quickstart demo Use of uninitialized value in pattern match (m//)
  • Download Code

Replies are listed 'Best First'.
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
    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.
      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://560224]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2022-05-24 20:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (84 votes). Check out past polls.

    Notices?