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

root/branches/1_5/sample/howto/wsdl_fault/README.txt

Revision 1843, 0.5 kB (checked in by nahi, 2 years ago)
  • reorganize sampless
Line 
1 These samples are created by Peter GardfjÀl.  Thanks!
2
3 1) Generate the stubs
4     ruby wsdl2ruby.rb --wsdl fault.wsdl --type client --type server --force --quiet
5 2) Start the server:
6     ruby AddServer.rb 12345
7 3) Run the (add) client:
8     ruby -d AddClient.rb  http://localhost:12345 101
9
10 The "fault" directory contains a service that raises a fault whenever the added number is greater than 100.
11 The "multifault" sample behaves the same way, but in addition to the AddFault it also raises a NegativeValueFault if the received value is negative.
Note: See TracBrowser for help on using the browser.