Flowdock
method

rpc_operation_complextypes

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: WSDL::Definitions
rpc_operation_complextypes(binding) private

No documentation

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

Hide source
# File lib/wsdl/soap/definitions.rb, line 108
  def rpc_operation_complextypes(binding)
    types = XSD::NamedElements.new
    binding.operations.each do |op_bind|
      if op_bind_rpc?(op_bind)
        operation = op_bind.find_operation
        if op_bind.input
          type = XMLSchema::ComplexType.new(op_bind.soapoperation_name)
          message = messages[operation.input.message]
          type.sequence_elements = elements_from_message(message)
          types << type
        end
        if op_bind.output
          type = XMLSchema::ComplexType.new(operation.outputname)
          message = messages[operation.output.message]
          type.sequence_elements = elements_from_message(message)
          types << type
        end
      end
    end
    types
  end
Register or log in to add new notes.