Writing web services using Ruby

hi,
i want to write a web service using Ruby. This is not the client, but
the service.
Is there any good reference for writing services in Ruby. what i found
in the web were about writing clients using Ruby. But i want articles
about writing services.

thanks in advance.

regs,
buddhika

···

--
Posted via http://www.ruby-forum.com/.

Thilina Buddhika wrote:

hi,
i want to write a web service using Ruby. This is not the client, but
the service.

Well, you'll have to define "service".

Is there any good reference for writing services in Ruby. what i found
in the web were about writing clients using Ruby. But i want articles
about writing services.

For REST services (which is likely the path you will want to take), the book RESTful Web Services, by Leonard Richardson, is pretty good. It seems to have a an unusually large number of small but annoying errors, but the fundamental ideas are quite sound and there is a good deal of Ruby code in there.

···

--
James Britt

"Programs must be written for people to read, and only incidentally
  for machines to execute."
   - H. Abelson and G. Sussman
   (in "The Structure and Interpretation of Computer Programs)

It's very easy to write XML-RPC services using Ruby's standard library. See the HOWTO link on this page for multiple examples:

http://www.ntecs.de/projects/xmlrpc4r/

James Edward Gray II

···

On Nov 13, 2007, at 11:39 PM, Thilina Buddhika wrote:

i want to write a web service using Ruby. This is not the client, but
the service.
Is there any good reference for writing services in Ruby. what i found
in the web were about writing clients using Ruby. But i want articles
about writing services.

thanks James.

regs,
buddhika

···

--
Posted via http://www.ruby-forum.com/.

hi,
i followed a article at the following URL.
http://www.devx.com/enterprise/Article/28101/0/page/4

the service was deployed successfully and works fine.I used following
library.
soap/rpc/standaloneserver

now i want to get WSDL for this service. I appreciate if you can help me
with this.

thanks!

buddhika

···

--
Posted via http://www.ruby-forum.com/.