Return values in SOAP with Action Web Service

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?


Rodrigo D.

Iplan Networks
[email protected]

Datos Personales
[email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs