Sha256: 2fd7104ff89b9e06ee658c6f1cb46abfb0e50d32360bfdb4353367cacbacb116
Contents?: true
Size: 407 Bytes
Versions: 7
Compression:
Stored size: 407 Bytes
Contents
#!/usr/bin/env ruby require 'soap/rpc/standaloneServer' require 'exchange' class ExchangeServer < SOAP::RPC::StandaloneServer def initialize(*arg) super servant = Exchange.new add_servant(servant) end end if $0 == __FILE__ server = ExchangeServer.new('SampleStructServer', ExchangeServiceNamespace, '0.0.0.0', 7000) trap(:INT) do server.shutdown end status = server.start end
Version data entries
7 entries across 7 versions & 2 rubygems