[Rails] return values in SOAP with Action Web Service

Rodrigo Dominguez
Mon, 14 Aug 2006 16:14:11 -0000

I''m working with ActionWebService, building a SOAP Service.

I realize that I can returns various values, in example:

api_method :foo,
           :expects [ { :value1 => :int },
                      { :value2 => :int } ],
           :returns [ { :return_value_1 => :int},
                      { :return_value_2 => :string},
                      { :return_value_3 => :string} ]

the question is as follows, then in the controller:

def foo
  # How do I return the values for return_value_1, return_value_2
  # and return_value_3 here?
end

----------------------------
Rodrigo Dominguez
?
Iplan Networks ???????????????
rdominguez@iplan.com.ar??????
www.iplan.com.ar???????????
5031-6303 ????????????????????

Datos Personales
rorra@rorra.com.ar
www.rorra.com.ar
15-5695-6027