Class ActionWebService::Protocol::Soap::SoapBase64Factory
In: actionwebservice/lib/action_web_service/protocol/soap_protocol/marshaler.rb
Parent: SOAP::Mapping::Factory

Methods

obj2soap   soap2obj  

Public Instance methods

[Source]

# File actionwebservice/lib/action_web_service/protocol/soap_protocol/marshaler.rb, line 218
        def obj2soap(soap_class, obj, info, map)
          unless obj.is_a?(ActionWebService::Base64)
            return nil
          end
          return soap_class.new(obj)
        end

[Source]

# File actionwebservice/lib/action_web_service/protocol/soap_protocol/marshaler.rb, line 225
        def soap2obj(obj_class, node, info, map)
          unless node.type == SOAP::SOAPBase64::Type
            return false
          end
          return true, obj_class.new(node.string)
        end

[Validate]