Sha256: 239698953f7758a490a5af8fe241e7dbdbb39fb65585239308ac9692a9f7c421

Contents?: true

Size: 547 Bytes

Versions: 12

Compression:

Stored size: 547 Bytes

Contents

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.

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
soap4r-spox-1.6.0 sample/howto/wsdl_fault/README.txt
soap4r-ruby1.9-2.0.5 sample/howto/wsdl_fault/README.txt
soap5r-2.0.3 sample/howto/wsdl_fault/README.txt
soap5r-2.0.2 sample/howto/wsdl_fault/README.txt
soap5r-2.0.1 sample/howto/wsdl_fault/README.txt
soap5r-2.0.0 sample/howto/wsdl_fault/README.txt
soap5r-2.0.0.20120130130121 sample/howto/wsdl_fault/README.txt
soap4r-ruby1.9-2.0.3 sample/howto/wsdl_fault/README.txt
soap4r-ruby1.9-2.0.2 sample/howto/wsdl_fault/README.txt
soap4r-ruby1.9-2.0.1 sample/howto/wsdl_fault/README.txt
soap4r-ruby1.9-2.0.0 sample/howto/wsdl_fault/README.txt
soap4r-ruby1.9-1.0.0 sample/howto/wsdl_fault/README.txt