Month: January 2010

Buildr – The build system that doesn’t suck

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”:http://ant.apache.org/ and “all-in-one” solutions like “Maven”:http://maven.apache.org/. Both are based on huge “XML”:http://xml.iscrapbecause.it/ configuration files that are […]

(X)Ruby on the Mac

===================================================================== ===================================================================== _Update Aug. 2010_ The “RVM installer”:http://rvm.beginrescueend.com/rvm/install/ should be prefered over installation via gem: bash < ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0] # update your OS X Rubygems sudo gem update --system # check Gem version gem -v => 1.3.5 # install RVM as a Gem to the defaut OS X Ruby sudo gem […]

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 […]