diff options
Diffstat (limited to 'sample/soap/exchange/server.rb')
-rw-r--r-- | sample/soap/exchange/server.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sample/soap/exchange/server.rb b/sample/soap/exchange/server.rb new file mode 100644 index 0000000000..d510d54a76 --- /dev/null +++ b/sample/soap/exchange/server.rb @@ -0,0 +1,16 @@ +#!/usr/bin/env ruby + +require 'soap/rpc/standaloneServer' +require 'exchange' + +class ExchangeServer < SOAP::RPC::StandaloneServer + def initialize(*arg) + super + servant = Exchange.new + add_servant(servant) + end +end + +if $0 == __FILE__ + status = ExchangeServer.new('SampleStructServer', ExchangeServiceNamespace, '0.0.0.0', 7000).start +end |