Since my “initial series of blog posts”:http://blog.nofail.de/tag/savon/ about “Savon”:https://github.com/rubiii/savon and “Handsoap”:https://github.com/troelskn/handsoap a lot has been done on the Savon side. About a week ago “rubiii”:http://rubiii.com/ has released the “first beta”:http://rubygems.org/gems/savon/versions/0.8.0.beta.1 of “Savon 0.8”:https://github.com/rubiii/savon/tree/eight. A lot of bugfixes, improvement and API changes have been addressed in the latest version. If you want to get used to […]
Tag: Savon
noSQL – Rails models with SOAP
Using a DB is a natural thing for a Rails developer. Since Rails is a database driven application framework, that does not come as a big surprise. But there are times where environmental constraints do not allow the freedom to use the weapon of choice… Imagine a legacy Java SOA landscape that provides tons of […]
Savon Handsoap Shootout
This documentation is deprecated, please have a look at “savonrb.com”:http://savonrb.com/! p. Looking into “The Ruby Toolbox”:http://ruby-toolbox.com/ there are currently two popular “SOAP client libraries”:http://ruby-toolbox.com/categories/soap.html available. In this short article I am going to crunch the candidates “Savon”:http://github.com/rubiii/savon, which is currently the most “popular” library, and “Handsoap”:http://github.com/unwire/handsoap/ which follows short after. Both are open source projects […]
Savon vs. Handsoap: Calling a service
This documentation is deprecated, please have a look at “savonrb.com”:http://savonrb.com/! p. The two libraries have different approaches on how to get things done. While Handsoap is using an oldschool inheritance style definition: class HandsoapBankCode < Handsoap::Service endpoint :uri => “some_wsdl”, :version => 2 def on_create_document(doc) doc.alias “tns”, “some_namespace” end def on_response_document(doc) doc.add_namespace “ns1”, “some_namespace” end […]
Savon vs. Handsoap: Accessing a WSDL
This documentation is deprecated, please have a look at “savonrb.com”:http://savonrb.com/! p. Both clients provide an interface to work with a WSDL. While the Handsoap WSDL support is hidden in some helper class, WSDLs are a first class citizen in Savon. The code for printing out the available SOAP actions looks like this: require “handsoap/parser” wsdl […]