Ticket #352: literalregistry.diff
| File literalregistry.diff, 0.8 kB (added by nahi, 1 year ago) |
|---|
-
lib/soap/mapping/literalregistry.rb
old new 72 72 ele = nil 73 73 if obj.is_a?(SOAP::Mapping::Object) 74 74 ele = mappingobj2soap(obj, qname) 75 elsif definition = schema_definition_from_class(obj.class) 76 # search with class first. obj can be an instance of a subclass of 77 # defined class. 78 ele = stubobj2soap(obj, qname, definition) 75 79 elsif definition = schema_definition_from_elename(qname) 76 80 ele = stubobj2soap(obj, qname, definition) 77 elsif definition = schema_definition_from_class(obj.class)78 ele = stubobj2soap(obj, qname, definition)79 81 else 80 82 ele = anyobj2soap(obj, qname) 81 83 end