Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

root/trunk/test/wsdl/overload/expectedClient.rb

Revision 2003, 0.9 kB (checked in by nahi, 1 year ago)
  • wsdl2ruby.rb did not generate proper definitions for overloaded method in WSDL. (#446)
  • unnecessary 's' option for CRLF trimming regexp. Thanks Nobu.
Line 
1 #!/usr/bin/env ruby
2 require 'defaultDriver.rb'
3
4 endpoint_url = ARGV.shift
5 obj = OverloadServicePortType.new(endpoint_url)
6
7 # run ruby with -d to see SOAP wiredumps.
8 obj.wiredump_dev = STDERR if $DEBUG
9
10 # SYNOPSIS
11 #   methodAlpha(in0, in1, in2)
12 #
13 # ARGS
14 #   in0             C_String - {http://www.w3.org/2001/XMLSchema}string
15 #   in1             C_String - {http://www.w3.org/2001/XMLSchema}string
16 #   in2             C_String - {http://www.w3.org/2001/XMLSchema}string
17 #
18 # RETURNS
19 #   methodAlphaReturn Long - {http://www.w3.org/2001/XMLSchema}long
20 #
21 in0 = in1 = in2 = nil
22 puts obj.methodAlpha(in0, in1, in2)
23
24 # SYNOPSIS
25 #   methodAlpha_2(in0, in1)
26 #
27 # ARGS
28 #   in0             C_String - {http://www.w3.org/2001/XMLSchema}string
29 #   in1             C_String - {http://www.w3.org/2001/XMLSchema}string
30 #
31 # RETURNS
32 #   methodAlphaReturn Long - {http://www.w3.org/2001/XMLSchema}long
33 #
34 in0 = in1 = nil
35 puts obj.methodAlpha_2(in0, in1)
36
37
Note: See TracBrowser for help on using the browser.