mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
15 lines
317 B
Text
15 lines
317 B
Text
|
#!/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
|