private Method

Definitions.elements_from_message(message)

There's no documentation for this item.

Source Code

# File wsdl/soap/definitions.rb, line 134
def elements_from_message(message)
  message.parts.collect { |part|
    if part.element
      collect_elements[part.element]
    elsif part.name.nil? or part.type.nil?
      raise RuntimeError.new("part of a message must be an element or typed")
    else
      qname = XSD::QName.new(nil, part.name)
      XMLSchema::Element.new(qname, part.type)
    end
  }
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.