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