Sha256: 5302ea542fb43fbe0fe1ee99a6470d90773c24b5564800b8da34bc19416ca0fe

Contents?: true

Size: 369 Bytes

Versions: 7

Compression:

Stored size: 369 Bytes

Contents

require 'soap/rpc/driver'
require 'soap/attachment'

server = 'http://localhost:7000/'
driver = SOAP::RPC::Driver.new(server, 'http://www.acmetron.com/soap')
driver.wiredump_dev = STDERR
driver.add_method('get_file')
driver.add_method('put_file', 'name', 'file')

p driver.get_file
file = File.open($0)
attach = SOAP::Attachment.new(file)
p driver.put_file($0, attach)

Version data entries

7 entries across 7 versions & 2 rubygems

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