Sha256: c9350f43ff4a39abfc40a4d7393152aed3c16794767abea5d1452fc894cf9912

Contents?: true

Size: 329 Bytes

Versions: 34

Compression:

Stored size: 329 Bytes

Contents

require 'soap/rpc/standaloneServer'

class HelloWorldServer < SOAP::RPC::StandaloneServer
  def on_init
    add_method(self, 'hello_world', 'from')
  end

  def hello_world(from)
    "Hello World, from #{ from }"
  end
end

if $0 == __FILE__
  server = HelloWorldServer.new('hws', 'urn:hws', '0.0.0.0', 17171)
  server.start
end

Version data entries

34 entries across 34 versions & 13 rubygems

Version Path
mumboe-soap4r-1.6.0.pre.beta test/soap/helloworld/hw_s.rb
DefV-soap4r-1.5.8.2 test/soap/helloworld/hw_s.rb
mumboe-soap4r-1.5.8.7 test/soap/helloworld/hw_s.rb
teo-soap4r-1.5.9b test/soap/helloworld/hw_s.rb
mumboe-soap4r-1.5.8.6 test/soap/helloworld/hw_s.rb
soap4r-spox-1.6.0 test/soap/helloworld/hw_s.rb
soap4r-r19-1.5.9 test/soap/helloworld/hw_s.rb
mumboe-soap4r-1.5.8.5 test/soap/helloworld/hw_s.rb
soap4r-ruby1.9-2.0.5 test/soap/helloworld/hw_s.rb
soap4r-sgonyea-1.6.0 test/soap/helloworld/hw_s.rb
soap4r-straightjacket-1.5.9 test/soap/helloworld/hw_s.rb
soap4r-straightjacket-1.5.8 test/soap/helloworld/hw_s.rb
soap4r-ruby1.9-2.0.3 test/soap/helloworld/hw_s.rb
soap4r-ruby1.9-2.0.2 test/soap/helloworld/hw_s.rb
soap4r-ruby1.9-2.0.1 test/soap/helloworld/hw_s.rb
mumboe-soap4r-1.5.8.4 test/soap/helloworld/hw_s.rb
soap4r-ruby1.9-2.0.0 test/soap/helloworld/hw_s.rb
hands-soap4r-1.5.8.4 test/soap/helloworld/hw_s.rb
soap4r-ruby1.9-1.0.0 test/soap/helloworld/hw_s.rb
snaury-soap4r-1.5.8.1 test/soap/helloworld/hw_s.rb