~ubuntu-branches/ubuntu/trusty/ruby1.9/trusty

« back to all changes in this revision

Viewing changes to test/wsdl/simpletype/rpc/expectedClient.rb

  • Committer: Bazaar Package Importer
  • Author(s): Stephan Hermann
  • Date: 2008-01-24 11:42:29 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20080124114229-jw2f87rdxlq6gp11
Tags: 1.9.0.0-2ubuntu1
* Merge from debian unstable, remaining changes:
  - Robustify check for target_os, fixing build failure on lpia.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env ruby
2
 
require 'echo_versionDriver.rb'
3
 
 
4
 
endpoint_url = ARGV.shift
5
 
obj = Echo_version_port_type.new(endpoint_url)
6
 
 
7
 
# run ruby with -d to see SOAP wiredumps.
8
 
obj.wiredump_dev = STDERR if $DEBUG
9
 
 
10
 
# SYNOPSIS
11
 
#   echo_version(version)
12
 
#
13
 
# ARGS
14
 
#   version         Version - {urn:example.com:simpletype-rpc-type}version
15
 
#
16
 
# RETURNS
17
 
#   version_struct  Version_struct - {urn:example.com:simpletype-rpc-type}version_struct
18
 
#
19
 
version = nil
20
 
puts obj.echo_version(version)
21
 
 
22
 
# SYNOPSIS
23
 
#   echo_version_r(version_struct)
24
 
#
25
 
# ARGS
26
 
#   version_struct  Version_struct - {urn:example.com:simpletype-rpc-type}version_struct
27
 
#
28
 
# RETURNS
29
 
#   version         Version - {urn:example.com:simpletype-rpc-type}version
30
 
#
31
 
version_struct = nil
32
 
puts obj.echo_version_r(version_struct)
33
 
 
34