Changeset 1066
- Timestamp:
- 11/27/03 23:30:20 (5 years ago)
- Files:
-
- trunk/lib/soap/encodingstyle/soapHandler.rb (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/soap/encodingstyle/soapHandler.rb
r1058 r1066 163 163 @refpool << o 164 164 elsif @decode_typemap 165 # to parse multi-ref element with decode_tag_by_type.166 # && (parent.node.class != SOAPBody || @is_first_top_ele)167 165 o = decode_tag_by_wsdl(ns, elename, type, parent.node, arytype, extraattr) 168 166 else … … 334 332 def decode_tag_by_wsdl(ns, elename, typestr, parent, arytypestr, extraattr) 335 333 o = nil 334 # should branch by root attribute? 336 335 if parent.class == SOAPBody 337 336 if @is_first_top_ele … … 364 363 end 365 364 366 # parent.definedtype is nil means the parent is SOAPUnknown. SOAPUnknown is367 # generated by decode_tag_by_type when its type is anyType.365 # parent.definedtype == nil means the parent is SOAPUnknown. SOAPUnknown 366 # is generated by decode_tag_by_type when its type is anyType. 368 367 parenttype = parent.definedtype || @decode_typemap[parent.type] 369 368 unless parenttype 370 raise EncodingStyleError.new("Unknown type '#{ parent.type }'.") 369 return decode_tag_by_type(ns, elename, typestr, parent, arytypestr, 370 extraattr) 371 371 end 372 372