~ubuntu-branches/ubuntu/hardy/ruby1.8/hardy-updates

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): akira yamada
  • Date: 2007-03-13 22:11:58 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20070313221158-h3oql37brlaf2go2
Tags: 1.8.6-1
* new upstream version, 1.8.6.
* libruby1.8 conflicts with libopenssl-ruby1.8 (< 1.8.6) (closes: #410018)
* changed packaging style to cdbs from dbs.

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