# File lib/wsdl/soap/complexType.rb, line 111
  def find_arytype
    unless compoundtype == :TYPE_ARRAY
      raise RuntimeError.new("Assert: not for array")
    end
    if arytype = find_soapenc_arytype
      return arytype
    end
    if map_as_array?
      return element_simpletype(elements[0])
    end
    raise RuntimeError.new("Assert: Unknown array definition.")
  end