Sha256: dc70d853bf84ca0b92fc1590e35d6e50f2f13de375c9d9f84748bba31ee5d05b

Contents?: true

Size: 285 Bytes

Versions: 7

Compression:

Stored size: 285 Bytes

Contents

#!/usr/bin/env ruby

require 'soap/rpc/cgistub'

class CalcServer < SOAP::RPC::CGIStub
  def initialize(*arg)
    super

    require 'calc'
    servant = CalcService
    add_servant(servant, 'http://tempuri.org/calcService')
  end
end

status = CalcServer.new('CalcServer', nil).start

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
soap4r-spox-1.6.0 sample/basic/calc/server.cgi
soap4r-ruby1.9-2.0.5 sample/basic/calc/server.cgi
soap4r-ruby1.9-2.0.3 sample/basic/calc/server.cgi
soap4r-ruby1.9-2.0.2 sample/basic/calc/server.cgi
soap4r-ruby1.9-2.0.1 sample/basic/calc/server.cgi
soap4r-ruby1.9-2.0.0 sample/basic/calc/server.cgi
soap4r-ruby1.9-1.0.0 sample/basic/calc/server.cgi