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