Soap::Lite install problems

Peter Smith <[email protected]> Thu, 20 Mar 2003 05:12:59 -0500
Newsgroups gmane.comp.windows.devel.soap.general
Message-ID <LISTSERV%[email protected]>
Hello. I've installed Soap::Lite on a machine running Red Hat 7.2.
I've creted a little client, just like the example found at
http://guide.soaplite.com/:

#!/usr/bin/perl
  use SOAP::Lite;
  print SOAP::Lite
    -> uri('http://www.soaplite.com/Demo')
    -> proxy('http://services.soaplite.com/hibye.cgi')
    -> hi()
    -> result;

This example works, so I said "Soap::Lite was installed (maybe)
successfully" (it prints "Hello World")

Then I've made a little server (example taken from
http://guide.soaplite.com/):

"hibye.cgi"

 #!perl -w
  use SOAP::Transport::HTTP;
  SOAP::Transport::HTTP::CGI
    -> dispatch_to('Demo')
    -> handle;
  package Demo;
  sub hi {
    return "hello, world";
  }
  sub bye {
    return "goodbye, cruel world";
  }

and then my own client:
"hibye.pl"

#!/bin/bash
  use SOAP::Lite;
  print SOAP::Lite
    -> uri('http://localhost/cgi-bin/Demo')
    -> proxy('http://localhost/cgi-bin/hibye.cgi')
    -> hi()
    -> result;
////////////////////////////////////////////////////
when I run:
       % perl hibye.pl
       %
NOTHING HAPPENS :((

I was curious, and I looked in the file logs of apache, and my request was
inserted into "etc/httpd/~logs/acces.log" like this:

127.0.0.1 - - [20/Mar/2003:00:57:55 +0200] "POST /cgi-bin/hibye.cgi
HTTP/1.0" 500 631 "-" "SOAP::Lite/Perl/0.55"

500 means : Internal Sever Error    :(((

////////////////////////////////////////////////////////////

any other ordinary .cgi that I made in bash or perl work just fine in
http://localhost/cgi-bin/

////////////////////////////////////////////////////////////

when I installed Soap::Lite I deployed it in  /tmp and there
a followed the instructions and typed, in order:

   perl Makefile.PL
   make
   make test
   make install

-----------------------------------------------------------------------
I must say that I've installed the following perl modules to satisfy
some dependencies that Soap::Lite required:

1.HTML-Stream-1.54
2.IO-stringy-2.108
3.MailTools-1.58
4.XML-Parser-2.30
5.MIME-Lite-2.117
6.MIME-tools-5.411

but ... nothing.... :
127.0.0.1 - - [20/Mar/2003:02:09:18 +0200] "POST /cgi-bin/hibye.cgi
HTTP/1.0" 500 631 "-" "SOAP::Lite/Perl/0.55"

                                     Thank you.


 P.S. sorry for my English, am not a native English speaker :)

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com
You may be interested in Guerrilla Web Services .NET, 14 April 2003, in Torrance, CA
http://www.develop.com/courses/gwsdotnet

View archives and manage your subscription(s) at http://discuss.develop.com