summaryrefslogtreecommitdiff
path: root/sample/soap/helloworld/hw_c.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/soap/helloworld/hw_c.rb')
-rw-r--r--sample/soap/helloworld/hw_c.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/sample/soap/helloworld/hw_c.rb b/sample/soap/helloworld/hw_c.rb
new file mode 100644
index 0000000000..253d0a409b
--- /dev/null
+++ b/sample/soap/helloworld/hw_c.rb
@@ -0,0 +1,6 @@
+require 'soap/rpc/driver'
+
+s = SOAP::RPC::Driver.new('http://localhost:2000/', 'urn:hws')
+s.add_method("hello_world", "from")
+
+p s.hello_world(self.to_s)