Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: SOAP::Transport::HTTP::CGI 411 Error

by themage (Friar)
on Nov 17, 2006 at 09:37 UTC ( [id://584685]=note: print w/replies, xml ) Need Help??


in reply to SOAP::Transport::HTTP::CGI 411 Error

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.

  • Comment on Re: SOAP::Transport::HTTP::CGI 411 Error

Replies are listed 'Best First'.
Re^2: SOAP::Transport::HTTP::CGI 411 Error
by timecatalyst (Acolyte) on Nov 20, 2006 at 17:08 UTC
    Yeah, that's exactly what it was. Sorry, it was a long week. For some reason I had it in my mind that SOAP::Lite was starting up an HTTP server. Not sure how I came to that conclusion. Thanks for the feedback.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://584685]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-04-23 11:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found