What's the best way to use SOAP with Ruby?

jcoby picture jcoby · Sep 2, 2008 · Viewed 84.6k times · Source

A client of mine has asked me to integrate a 3rd party API into their Rails app. The only problem is that the API uses SOAP. Ruby has basically dropped SOAP in favor of REST. They provide a Java adapter that apparently works with the Java-Ruby bridge, but we'd like to keep it all in Ruby, if possible. I looked into soap4r, but it seems to have a slightly bad reputation.

So what's the best way to integrate SOAP calls into a Rails app?

Answer

rubiii picture rubiii · Jan 18, 2010

I built Savon to make interacting with SOAP webservices via Ruby as easy as possible.
I'd recommend you check it out.