Modified the way arguments are passed to SOAP to support Ruby 1.8.x and Jruby in 1.8 mode