Sha256: 2aebe505bc7a9e6b1435809a400ed1ff05d4e58bf4074dfb1b11c0a13ba3e5d8

Contents?: true

Size: 402 Bytes

Versions: 7

Compression:

Stored size: 402 Bytes

Contents

require 'soap/rpc/driver'

require 'iSampleStruct'

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

drv = SOAP::RPC::Driver.new(server, SampleStructServiceNamespace)
drv.wiredump_dev = STDERR
drv.add_method('hi', 'sampleStruct')

o1 = SampleStruct.new
puts "Sending struct: #{ o1.inspect }"
puts
o2 = drv.hi(o1)
puts "Received (wrapped): #{ o2.inspect }"

Version data entries

7 entries across 7 versions & 2 rubygems

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