Sha256: 44d0440cc4f9df57e6a584b06244e3be006c3c9cf38de7abf58aa80cfba6feb3
Contents?: true
Size: 464 Bytes
Versions: 1
Compression:
Stored size: 464 Bytes
Contents
require 'sinatra/base' require 'sinatra/soap' class App < Sinatra::Base register Sinatra::Soap set :service, "sinatra" set :namespace, "http://schemas.xmlsoap.org/wsdl/" set :endpoint, '/action' set :wsdl_route, '/wsdl' #soap :test do # params #end soap :test, in: { hello: :string }, out: nil do params end soap :ObjectTest, in: { TestObject: { a: :string, b: :string }}, out: { hello: :string } do params end end App.run!
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sinatra-soap-current-0.1.8 | examples/app.rb |