1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/sample/soap/sampleStruct/server.cgi

15 lines
317 B
Text
Raw Normal View History

#!/usr/local/bin/ruby
require 'soap/rpc/cgistub'
require 'sampleStruct'
class SampleStructServer < SOAP::RPC::CGIStub
def initialize(*arg)
super
servant = SampleStructService.new
add_servant(servant)
end
end
status = SampleStructServer.new('SampleStructServer', SampleStructServiceNamespace).start