annotate_arrays (ActionWebService::Protocol::Soap::SoapMarshaler)

    # File lib/action_web_service/protocol/soap_protocol/marshaler.rb, line 72
            def annotate_arrays(binding, value)
              if value.nil?
                return
              elsif binding.type.array?
                mark_typed_array(value, binding.element_binding.qname)
                if binding.element_binding.type.custom?
                  value.each do |element|
                    annotate_arrays(binding.element_binding, element)
                  end
                end
              elsif binding.type.structured?
                binding.type.each_member do |name, type|
                  member_binding = register_type(type)
                  member_value = value.respond_to?('[]') ? value[name] : value.send(name)
                  annotate_arrays(member_binding, member_value) if type.custom?
                end
              end
            end