Loading ...
Sorry, an error occurred while loading the content.

877SOAP server does not work

Expand Messages
  • zweili2@yahoo.com
    Oct 1, 2001
      I installed SOAPLite on Redhat Linux 6.0 (2.2.5-15) with Apache 1.3.6-
      7. The soap client works fine accessing SOAP servers on the
      Internet. But the server does not work (copied code from
      instructions). When run the server on comandline, got "Status: 405
      Method Not Allowed". When run the client, got "500 Internal Server
      Error". The Apache error-log showed "[Error] (8)Exec format error:
      exec of /home/httpd/cgi-bin/soapserver.cgi failed".

      use SOAP::Transport::HTTP;
      -> dispatch_to('Demo')
      -> handle;
      package Demo;
      sub hi {
      return "hello, world";
      sub bye {
      return "goodbye, cruel world";
      soapclient.cgi code
      print "Content-type:text/html\n\n";
      use SOAP::Lite;
      print "<html><body>";
      print "Server message: ".$myresult."<br>\n";
      print "</body></html>";

      Please tell me what my problem I have.

    • Show all 3 messages in this topic