summaryrefslogtreecommitdiff
path: root/ruby_1_8_6/test/wsdl/rpc/echo_serviceClient.rb
blob: 40264834e9913efcc2d839886883b8a4fa561d94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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)