Flowdock
method

dump_porttype

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: WSDL::SOAP::ServantSkeltonCreator
dump_porttype(name) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/wsdl/soap/servantSkeltonCreator.rb, line 43
  def dump_porttype(name)
    class_name = create_class_name(name)
    c = XSD::CodeGen::ClassDef.new(class_name)
    operations = @definitions.porttype(name).operations
    operations.each do |operation|
      name = safemethodname(operation.name.name)
      input = operation.input
      params = input.find_message.parts.collect { |part|
        safevarname(part.name)
      }
      m = XSD::CodeGen::MethodDef.new(name, params) do "p [\#{params.join(\", \")}]\nraise NotImplementedError.new\n"
        end
      m.comment = dump_method_signature(operation)
      c.add_method(m)
    end
    c.dump
  end
Register or log in to add new notes.