If you are a Java guy like me, you are probably doing a lot of ugly tasks in your everday work. One of these tasks is build management. The Java community tries to tackle builds with standard tools like Ant and “all-in-one” solutions like Maven. Both are based on huge XML configuration files that are […]
Month: January 2010
(X)Ruby on the Mac
=============================================================== =============================================================== Update Aug. 2010 The RVM installer should be prefered over installation via gem: bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head ) =============================================================== =============================================================== If you are a Mac user and a Ruby developer you probably ran into issues with custom Ruby installations and had troubles with Gems like these: How to fix that Rubygems mess […]
Savon Handsoap Shootout
This documentation is deprecated, please have a look at savonrb.com! Looking into The Ruby Toolbox there are currently two popular SOAP client libraries available. In this short article I am going to crunch the candidates Savon, which is currently the most “popular” library, and Handsoap which follows short after. Both are open source projects hosted […]
Savon vs. Handsoap: Calling a service
This documentation is deprecated, please have a look at savonrb.com! 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! 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 = […]