Sha256: 304dd726e0df3d29bd375cd1bb25f5afc8b49288a3c8451fe60d1576c627de92

Contents?: true

Size: 719 Bytes

Versions: 15

Compression:

Stored size: 719 Bytes

Contents

#!/usr/bin/env ruby
# encoding: ASCII-8BIT

$KCODE = "UTF8"      # Set $KCODE before loading 'soap/xmlparser'.

require 'soap/standaloneServer'
require 'servant'

class App < SOAP::StandaloneServer
  def initialize( *arg )
    super( *arg )

    # Explicit definition
    servant = Sm11PortType.new
    Sm11PortType::Methods.each do | methodNameAs, methodName, params, soapAction, namespace |
      addMethodWithNSAs( namespace, servant, methodName, methodNameAs, params, soapAction )
    end
    # Easy way to add all methods.
    addServant( Sm11PortType.new )

    self.mappingRegistry = Sm11PortType::MappingRegistry
    self.level = Logger::Severity::ERROR
  end
end

App.new( 'App', nil, '0.0.0.0', 10080 ).start

Version data entries

15 entries across 15 versions & 9 rubygems

Version Path
malagant-soap4r-1.5.8.20141127181857 test/sm11/server.rb
rtiss_soap4r-1.6.1 test/sm11/server.rb
rtiss_soap4r-1.6.0 test/sm11/server.rb
eSpace_soap4r-1.5.8 test/sm11/server.rb
soap4r-ruby19-1.5.9 test/sm11/server.rb
tomdz-soap4r-1.5.8.20120202093209 test/sm11/server.rb
soap5r-2.0.3 test/sm11/server.rb
soap5r-2.0.2 test/sm11/server.rb
soap5r-2.0.1 test/sm11/server.rb
soap5r-2.0.0 test/sm11/server.rb
soap5r-2.0.0.20120130130121 test/sm11/server.rb
soap4r-sgonyea-1.5.9 test/sm11/server.rb
sunteya-soap4r-1.5.8.0 test/sm11/server.rb
tomdz-soap4r-1.5.8.20111103171510 test/sm11/server.rb
rubyjedi-soap4r-1.5.8.20100619003610 test/sm11/server.rb