blob: 3caa31a052671fa8f3c84f1548cb283fcf6b55ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/usr/bin/env ruby
require 'soap/rpc/standaloneServer'
require 'sampleStruct'
class SampleStructServer < SOAP::RPC::StandaloneServer
def initialize(*arg)
super
servant = SampleStructService.new
add_servant(servant)
end
end
if $0 == __FILE__
status = SampleStructServer.new('SampleStructServer', SampleStructServiceNamespace, '0.0.0.0', 7000).start
end
|