# File lib/soap/mapping/registry.rb, line 233 def add_attributes2soap(obj, ele) if definition = Mapping.schema_definition_classdef(obj.class) add_definedattributes2soap(obj, ele, definition) elsif obj.respond_to?(:__xmlattr) obj.__xmlattr.each do |key, value| ele.extraattr[key] = value end end end