How to use SOAP web service in Rails3? I tried datanoise-actionwebservice but doesn't work for me. I heard that rails3 has integrated SOAP support, but I don't find nothing about this on the internet. Can you help me?
Asked
Active
Viewed 2,380 times
2
-
REST is pretty much what all rails developers use. Do a little more searching. http://stackoverflow.com/questions/40273/whats-the-best-way-to-use-soap-with-ruby – thenengah Oct 27 '10 at 23:59
-
3I think/hope the question is how do you consume a SOAP API – MatthewFord Oct 28 '10 at 00:00
1 Answers
4
We're using Savon with Rails 3, works well for our use (Google Adwords API)

MatthewFord
- 2,918
- 2
- 21
- 32
-
Can I make with Savon my own web service and use them from another app? – dormitkon Oct 28 '10 at 00:05
-
for that you're best bet is http://github.com/rubyjedi/actionwebservice not rails 3 though – MatthewFord Oct 28 '10 at 00:12
-
I am trying to use Savon with the Google Adwords API and running into SSL errors. Did you have to do anything special to get Savon working with SSL? – DougB May 26 '11 at 20:28
-
just use the https url for the endpoint. You do need to get the auth token and make sure you turn on ssl for that: http_client = Net::HTTP.new(hostname, port); http_client.use_ssl = true – MatthewFord Jun 13 '11 at 18:52