method

unmarshal

ruby latest stable - Class: SOAP::Marshal

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

unmarshal(stream, mapping_registry = MarshalMappingRegistry)
public

No documentation available.

# File lib/soap/marshal.rb, line 45
    def unmarshal(stream, mapping_registry = MarshalMappingRegistry)
      env = SOAP::Processor.unmarshal(stream)
      if env.nil?
        raise ArgumentError.new("Illegal SOAP marshal format.")
      end
      Mapping.soap2obj(env.body.root_node, mapping_registry)
    end