Sha256: 6736d577d0b16553eca5e0877c8ba19962ab8efc734e48181b818a4d364b7bd9

Contents?: true

Size: 392 Bytes

Versions: 5

Compression:

Stored size: 392 Bytes

Contents

# encoding: ASCII-8BIT
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

5 entries across 5 versions & 1 rubygems

Version Path
soap5r-2.0.3 sample/attachment/swa/client.rb
soap5r-2.0.2 sample/attachment/swa/client.rb
soap5r-2.0.1 sample/attachment/swa/client.rb
soap5r-2.0.0 sample/attachment/swa/client.rb
soap5r-2.0.0.20120130130121 sample/attachment/swa/client.rb