I'm trying to run the SOAP::Lite Quickstart demo at
http://guide.soaplite.com/#quick%20start%20guide%20with%20soap%20and%20soap::lit\
e
My hibye.pl looks like
#!/usr/bin/perl -w
# -- SOAP::Lite -- guide.soaplite.com -- Copyright (C) 2001 Paul
Kulchenko --
use SOAP::Lite;
print SOAP::Lite
-> uri('http://server.com/cgi-bin/soaplite/Demo')
-> proxy('http://server.com/cgi-bin/soaplite/hibye.cgi')
-> hi()
-> result;
-I'm getting a 500 internal server error when I try to run the script.
hibye.cgi has not been modified except the path to perl.
My machine is ubuntu dapper drake, with apache2 and SOAP::Lite
installed. My apache2 error logs look like
#this gives me the following in my error log
[Fri Jul 07 16:15:39 2006] [error] [client 1.1.1.1] Use of
uninitialized value in pattern match
(m//) at /usr/local/share/perl/5.8.7/SOAP/Transport/HTTP.pm line 411.
[Fri Jul 07 16:15:39 2006] [error] [client 1.1.1.1] Premature end of
script headers: hibye.pl
I've tried googling that error, but couldn't find a way to fix it.
Any advice appreciated.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.