Sha256: dcb2d13926bc4dd77c25bfbf867a3a848060448c47a4cf8a93b75f9eb5c53c49

Contents?: true

Size: 1.81 KB

Versions: 15

Compression:

Stored size: 1.81 KB

Contents

#!/usr/bin/env ruby
# encoding: ASCII-8BIT
require 'echo_versionServant.rb'
require 'echo_versionMappingRegistry.rb'
require 'soap/rpc/cgistub'

class Echo_version_port_type
  NsSimpletypeRpc = "urn:example.com:simpletype-rpc"

  Methods = [
    [ XSD::QName.new(NsSimpletypeRpc, "echo_version"),
      "urn:example.com:simpletype-rpc",
      "echo_version",
      [ [:in, "version", [nil, "urn:example.com:simpletype-rpc-type", "version"]],
        [:retval, "version_struct", ["Version_struct", "urn:example.com:simpletype-rpc-type", "version_struct"]] ],
      { :request_style =>  :rpc, :request_use =>  :encoded,
        :response_style => :rpc, :response_use => :encoded,
        :faults => {} }
    ],
    [ XSD::QName.new(NsSimpletypeRpc, "echo_version_r"),
      "urn:example.com:simpletype-rpc",
      "echo_version_r",
      [ [:in, "version_struct", ["Version_struct", "urn:example.com:simpletype-rpc-type", "version_struct"]],
        [:retval, "version", [nil, "urn:example.com:simpletype-rpc-type", "version"]] ],
      { :request_style =>  :rpc, :request_use =>  :encoded,
        :response_style => :rpc, :response_use => :encoded,
        :faults => {} }
    ]
  ]
end

class Echo_version_port_typeApp < ::SOAP::RPC::CGIStub
  def initialize(*arg)
    super(*arg)
    servant = Echo_version_port_type.new
    Echo_version_port_type::Methods.each do |definitions|
      opt = definitions.last
      if opt[:request_style] == :document
        @router.add_document_operation(servant, *definitions)
      else
        @router.add_rpc_operation(servant, *definitions)
      end
    end
    self.mapping_registry = Echo_versionMappingRegistry::EncodedRegistry
    self.literal_mapping_registry = Echo_versionMappingRegistry::LiteralRegistry
    self.level = Logger::Severity::ERROR
  end
end
Echo_version_port_typeApp.new('app', nil).start

Version data entries

15 entries across 15 versions & 9 rubygems

Version Path
malagant-soap4r-1.5.8.20141127181857 test/wsdl/soap/wsdl2ruby/expectedService.cgi
rtiss_soap4r-1.6.1 test/wsdl/soap/wsdl2ruby/expectedService.cgi
rtiss_soap4r-1.6.0 test/wsdl/soap/wsdl2ruby/expectedService.cgi
eSpace_soap4r-1.5.8 test/wsdl/soap/wsdl2ruby/expectedService.cgi
soap4r-ruby19-1.5.9 test/wsdl/soap/wsdl2ruby/expectedService.cgi
tomdz-soap4r-1.5.8.20120202093209 test/wsdl/soap/wsdl2ruby/expectedService.cgi
soap5r-2.0.3 test/wsdl/soap/wsdl2ruby/expectedService.cgi
soap5r-2.0.2 test/wsdl/soap/wsdl2ruby/expectedService.cgi
soap5r-2.0.1 test/wsdl/soap/wsdl2ruby/expectedService.cgi
soap5r-2.0.0 test/wsdl/soap/wsdl2ruby/expectedService.cgi
soap5r-2.0.0.20120130130121 test/wsdl/soap/wsdl2ruby/expectedService.cgi
soap4r-sgonyea-1.5.9 test/wsdl/soap/wsdl2ruby/expectedService.cgi
sunteya-soap4r-1.5.8.0 test/wsdl/soap/wsdl2ruby/expectedService.cgi
tomdz-soap4r-1.5.8.20111103171510 test/wsdl/soap/wsdl2ruby/expectedService.cgi
rubyjedi-soap4r-1.5.8.20100619003610 test/wsdl/soap/wsdl2ruby/expectedService.cgi