summaryrefslogtreecommitdiff
path: root/ruby_1_8_5/test/wsdl/rpc/echo_serviceClient.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_1_8_5/test/wsdl/rpc/echo_serviceClient.rb')
-rw-r--r--ruby_1_8_5/test/wsdl/rpc/echo_serviceClient.rb23
1 files changed, 23 insertions, 0 deletions
diff --git a/ruby_1_8_5/test/wsdl/rpc/echo_serviceClient.rb b/ruby_1_8_5/test/wsdl/rpc/echo_serviceClient.rb
new file mode 100644
index 0000000000..40264834e9
--- /dev/null
+++ b/ruby_1_8_5/test/wsdl/rpc/echo_serviceClient.rb
@@ -0,0 +1,23 @@
+#!/usr/bin/env ruby
+require 'echoDriver.rb'
+
+endpoint_url = ARGV.shift
+obj = Echo_port_type.new(endpoint_url)
+
+# Uncomment the below line to see SOAP wiredumps.
+# obj.wiredump_dev = STDERR
+
+# SYNOPSIS
+# echo(arg1, arg2)
+#
+# ARGS
+# arg1 Person - {urn:rpc-type}person
+# arg2 Person - {urn:rpc-type}person
+#
+# RETURNS
+# v_return Person - {urn:rpc-type}person
+#
+arg1 = arg2 = nil
+puts obj.echo(arg1, arg2)
+
+