private Method

Definitions.rpc_operation_complextypes(binding)

There's no documentation for this item.

Source Code

# File 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
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.