Class: ActionWebService::Protocol::Soap::SoapTypedArrayFactory
- Inherits:
-
SOAP::Mapping::Factory
- Object
- SOAP::Mapping::Factory
- ActionWebService::Protocol::Soap::SoapTypedArrayFactory
- Defined in:
- lib/action_web_service/protocol/soap_protocol/marshaler.rb
Instance Method Summary collapse
Instance Method Details
#obj2soap(soap_class, obj, info, map) ⇒ Object
206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/action_web_service/protocol/soap_protocol/marshaler.rb', line 206 def obj2soap(soap_class, obj, info, map) unless obj.respond_to?(:arytype) return nil end soap_obj = soap_class.new(SOAP::ValueArrayName, 1, obj.arytype) mark_marshalled_obj(obj, soap_obj) obj.each do |item| child = SOAP::Mapping._obj2soap(item, map) soap_obj.add(child) end soap_obj end |
#soap2obj(obj_class, node, info, map) ⇒ Object
219 220 221 |
# File 'lib/action_web_service/protocol/soap_protocol/marshaler.rb', line 219 def soap2obj(obj_class, node, info, map) return false end |