summaryrefslogtreecommitdiff
path: root/sample/soap/swa/client.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/soap/swa/client.rb')
-rw-r--r--sample/soap/swa/client.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/sample/soap/swa/client.rb b/sample/soap/swa/client.rb
deleted file mode 100644
index 01c59a3845..0000000000
--- a/sample/soap/swa/client.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-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)