"be consistent" | |
PerlMonks |
Re: SOAP::Transport::HTTP::CGI 411 Errorby themage (Friar) |
on Nov 17, 2006 at 09:37 UTC ( [id://584685]=note: print w/replies, xml ) | Need Help?? |
Hi timecatalyst,
The reason for the error you are getting is that (probably) you are running the script directly, and it is intented to be run as a CGI, in you HTTP Server, and then called by HTTP with a SOAP client. In the SOAP::Lite guide you can see that for each SOAP server there is an equivalent SOAP client, just in the next code example. That's because SOAP is intented to remote procedure call, in the specific case you are using (and the most common), over HTTP. That SOAP server you created is intented to be run as a cgi. Put it in a cgi directory in a webserver (apache or anyother), and try running the client just next to the server, with the correct URL for your cgi (this is obvious, I know, but important), and I think everything will workm just fine. If not come back to us with more details.
TheMage http://themage.bliker.com
In Section
Seekers of Perl Wisdom
|
|