method

obj2soap

ruby latest stable - Class: SOAP::Mapping::TypedStructFactory_

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.

obj2soap(soap_class, obj, info, map)
public

No documentation available.

# File lib/soap/mapping/factory.rb, line 278
  def obj2soap(soap_class, obj, info, map)
    type = info[:type] || info[0]
    soap_obj = soap_class.new(type)
    mark_marshalled_obj(obj, soap_obj)
    if obj.class <= SOAP::Marshallable
      setiv2soap(soap_obj, obj, map)
    else
      setiv2soap(soap_obj, obj, map)
    end
    soap_obj
  end