Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

root/trunk/sample/basic/calc/server.cgi

Revision 1843, 285 bytes (checked in by nahi, 2 years ago)
  • reorganize sampless
  • Property svn:eol-style set to native
  • Property svn:keywords set to author date id revision
Line 
1 #!/usr/bin/env ruby
2
3 require 'soap/rpc/cgistub'
4
5 class CalcServer < SOAP::RPC::CGIStub
6   def initialize(*arg)
7     super
8
9     require 'calc'
10     servant = CalcService
11     add_servant(servant, 'http://tempuri.org/calcService')
12   end
13 end
14
15 status = CalcServer.new('CalcServer', nil).start
Note: See TracBrowser for help on using the browser.