Hi,

I'm trying to do some work creating a web service using SOAP::Lite but I'm
not getting far.  A call through the browser to 'client.pl' shows a blank
web page.  Going directly to the server.pl shows the error:  "HTTP/1.1 411
Length Required".  This is running on IIS6/w2k3/AP 5.8 perl.

Any ideas on this error?  Google didn't reveal all that much.

Cheers,
Paul ---


# client.pl ###############################################

use CGI;
use SOAP::Lite;

$wp = new CGI;
print $wp->header;

print SOAP::Lite
  -> uri('Demo')
  -> proxy('http://localhost/server.pl')
  -> hi()         
  -> result;


# server.pl ###############################################

use CGI;
use SOAP::Transport::HTTP;

$wp = new CGI;
print $wp->header;

SOAP::Transport::HTTP::CGI   
  -> dispatch_to('Demo')     
  -> handle;

package Demo;

sub hi {                     
  return "hello, world!";
}




_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to