blob: 16bc85a0422f15aa84782763f002c5f45a0f4acf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
|