Sha256: 3e16d4b2cc9acd23ec982f25daf2e13b3f820dbcf8a20c13c8189b14412a714e

Contents?: true

Size: 337 Bytes

Versions: 1

Compression:

Stored size: 337 Bytes

Contents

require "savon"

#client = Savon.client do
#  endpoint "http://127.0.0.1:4567/action"
#  namespace "http://schemas.xmlsoap.org/wsdl/"
#end


client = Savon.client(wsdl: "http://127.0.0.1:4567/wsdl")

puts client.operations

puts client.call(:test, message: { :hello => :world })
puts client.call(:test, message: { :should => :fail })

 

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sinatra-soap-current-0.1.8 examples/client.rb