File: README.txt

package info (click to toggle)
ruby-soap4r 2.0.5-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,032 kB
  • sloc: ruby: 52,729; xml: 266; sh: 42; javascript: 20; makefile: 13; perl: 10
file content (11 lines) | stat: -rw-r--r-- 547 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
These samples are created by Peter GardfjÀl.  Thanks!

1) Generate the stubs
    ruby wsdl2ruby.rb --wsdl fault.wsdl --type client --type server --force --quiet
2) Start the server:
    ruby AddServer.rb 12345
3) Run the (add) client:
    ruby -d AddClient.rb  http://localhost:12345 101

The "fault" directory contains a service that raises a fault whenever the added number is greater than 100.
The "multifault" sample behaves the same way, but in addition to the AddFault it also raises a NegativeValueFault if the received value is negative.