Sha256: df7d42c8005711fd64f27926bd0f2052fed3f93a4a25ffb745fabe3c1333f22a

Contents?: true

Size: 464 Bytes

Versions: 7

Compression:

Stored size: 464 Bytes

Contents

#!/usr/bin/env ruby

require "soap/rpc/driver"

ExchangeServiceNamespace = 'http://tempuri.org/exchangeService'

server = ARGV.shift || "http://localhost:7000/"
# server = "http://localhost:8808/server.cgi"

logger = nil
wiredump_dev = nil
# logger = Logger.new(STDERR)
# wiredump_dev = STDERR

drv = SOAP::RPC::Driver.new(server, ExchangeServiceNamespace)
drv.wiredump_dev = wiredump_dev
drv.add_method("rate", "country1", "country2")

p drv.rate("USA", "Japan")

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
soap4r-spox-1.6.0 sample/basic/exchange/client.rb
soap4r-ruby1.9-2.0.5 sample/basic/exchange/client.rb
soap4r-ruby1.9-2.0.3 sample/basic/exchange/client.rb
soap4r-ruby1.9-2.0.2 sample/basic/exchange/client.rb
soap4r-ruby1.9-2.0.1 sample/basic/exchange/client.rb
soap4r-ruby1.9-2.0.0 sample/basic/exchange/client.rb
soap4r-ruby1.9-1.0.0 sample/basic/exchange/client.rb