Sha256: 65b29cea2728b51bbbd7ca9bf5d2cef17fb0bd9dd789af2386136c7283bbec39
Contents?: true
Size: 448 Bytes
Versions: 5
Compression:
Stored size: 448 Bytes
Contents
#!/usr/bin/env ruby # encoding: ASCII-8BIT 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__ server = SampleStructServer.new('SampleStructServer', SampleStructServiceNamespace, '0.0.0.0', 7000) trap(:INT) do server.shutdown end server.start end
Version data entries
5 entries across 5 versions & 1 rubygems