# File lib/wsdl/soap/definitions.rb, line 26
  def self.array_complextype
    type = XMLSchema::ComplexType.new(::SOAP::ValueArrayName)
    type.complexcontent = XMLSchema::ComplexContent.new
    type.complexcontent.restriction = XMLSchema::ComplexRestriction.new
    type.complexcontent.restriction.base = ::SOAP::ValueArrayName
    attr = XMLSchema::Attribute.new
    attr.ref = ::SOAP::AttrArrayTypeName
    anyarray = XSD::QName.new(
      XSD::AnyTypeName.namespace,
      XSD::AnyTypeName.name + '[]')
    attr.arytype = anyarray
    type.complexcontent.restriction.attributes << attr
    type
  end