Trying xsd:dateTime data to be recovered as aTime.
# File lib/soap/marshal.rb, line 28 28: def dump(obj, io = nil) 29: marshal(obj, MarshalMappingRegistry, io) 30: end
# File lib/soap/marshal.rb, line 32 32: def load(stream) 33: unmarshal(stream, MarshalMappingRegistry) 34: end
# File lib/soap/marshal.rb, line 36 36: def marshal(obj, mapping_registry = MarshalMappingRegistry, io = nil) 37: elename = Mapping.name2elename(obj.class.to_s) 38: soap_obj = Mapping.obj2soap(obj, mapping_registry) 39: body = SOAPBody.new 40: body.add(elename, soap_obj) 41: env = SOAPEnvelope.new(nil, body) 42: SOAP::Processor.marshal(env, {}, io) 43: end
# File lib/soap/marshal.rb, line 45 45: def unmarshal(stream, mapping_registry = MarshalMappingRegistry) 46: env = SOAP::Processor.unmarshal(stream) 47: if env.nil? 48: raise ArgumentError.new("Illegal SOAP marshal format.") 49: end 50: Mapping.soap2obj(env.body.root_node, mapping_registry) 51: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.