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 […]
Category: Ruby
Savon vs. Handsoap: Authentication
This documentation is deprecated, please have a look at “savonrb.com”:http://savonrb.com/! p. The libraries provide support for multiple authentication protocols. While Handsoap’s authentication support is more low level, Savon provides an API for that task. h2. WSSE authentication p. As you might expect, the Handsoap way for this aspect is to implement a callback method for […]
Savon vs. Handsoap: Errors
This documentation is deprecated, please have a look at “savonrb.com”:http://savonrb.com/! p. Both client libraries provide the same default behavior for error handling; they raise distinct exceptions for SOAP and HTTP errors: * Handsoap::HttpError / Handsoap::Fault * Savon::HTTPError / Savon::SOAPFault p. And both clients offer a way to override that behavior. Savon lets you surpress errors […]
Savon vs. Handsoap: Benchmark
This documentation is deprecated, please have a look at “savonrb.com”:http://savonrb.com/! p. As every benchmark is only as good as the platform it is performed on, you should execute them on your own machine. The example code provides a rake task for that. Running the benchmarks on a local development machine (MacBook 2.4GH Intel Core 2 […]
Savon vs. Handsoap: JRuby
This documentation is deprecated, please have a look at “savonrb.com”:http://savonrb.com/! p. First of all, both client implementations can be run using JRuby. Since Savon is a pure Ruby implementation you get JRuby support for free. The drawback is, that it’s slow on MRI. Using native C Libraries by default, Handsoap is bleezing fast. But when […]