|
Revision 1843, 315 bytes
(checked in by nahi, 2 years ago)
|
|
- Property svn:eol-style set to
native
- Property svn:executable set to
*
- Property svn:keywords set to
author date id revision
|
| Line | |
|---|
| 1 |
#!/usr/bin/env ruby |
|---|
| 2 |
|
|---|
| 3 |
require 'soap/rpc/cgistub' |
|---|
| 4 |
require 'sampleStruct' |
|---|
| 5 |
|
|---|
| 6 |
class SampleStructServer < SOAP::RPC::CGIStub |
|---|
| 7 |
def initialize(*arg) |
|---|
| 8 |
super |
|---|
| 9 |
servant = SampleStructService.new |
|---|
| 10 |
add_servant(servant) |
|---|
| 11 |
end |
|---|
| 12 |
end |
|---|
| 13 |
|
|---|
| 14 |
status = SampleStructServer.new('SampleStructServer', SampleStructServiceNamespace).start |
|---|