From: Michael Taras Date: 2008-07-08T12:18:41+09:00 Subject: Re: XMLRPC Question Michael Neumann wrote: > Michael Taras wrote: >> 0.089925 >> So after that, I set out to see if I could get the same information from >> >> from /usr/local/lib/ruby/1.8/net/http.rb:1032:in `request' >> not sure. This is my first time messing with any xmlrpc stuff. > I think your analysis is correct. The server is returning the plain XML > and not a HTTP request. Btw, what did you enter in telnet? And what did > you got as a result from telnet? > > XML-RPC is usually served via HTTP. IIRC it is even required. If you use > XML-RPC not over HTTP, then you need to fetch the response yourself (you > can use plain sockets) and then invoke the parser on it yourself. But > it's probably easier to take a look at the server, because it's very > uncommon to not use HTTP! > > And btw, are you sure that the XML shown above is valid XML-RPC? AFAIK > it's not! Yeah, it's not XML-RPC ;-) > > Regards, > > Michael Thank you very much for the response. So what I entered into telnet was just: And I got out exactly what I posted in the original post, which apparently isn't even valid XML-RPC :) I will definitely check that stuff out and see what's up. In case I'm not able to get anything on the server side changed, how exactly would i go about making an XML-RPC call using sockets? I'm not really sure how to encode the xml in the request or anything of that sort. So some general direction would be greatly appreciated. @Eric I broke out tcpdump and examined the request. From what I could tell it was just an HTTP POST. I really have no experience with tcpdump so I could have been wrong. Thanks everyone for all the help so far. -Michael -- Posted via http://www.ruby-forum.com/.