This will return an array containing a boolean, two ints and two
strings. Your prior definition didn’t do that. I think this is due to
the peculiarity of how the syntax looks for the api definition. The
first pair of brackets don’t actually define an array from the API
standpoint.
I’m not explaining this well… sorry. Just try the above and see if
it fixes your problem.
Oops, I wrote my code wrong, the controller method should in fact
return a boolean, two ints and two strings…
return true, 0, 0, ‘’, ‘’
This is how I would usually return multiple values to a method call.
Unfortunately, I now get a “Don’t know how to cast String into Boolean”
error. :o(
This is how I would usually return multiple values to a method call.
Unfortunately, I now get a “Don’t know how to cast String into Boolean”
error. :o(
Help is, and will be, appreciated.
AFAIK, SOAP doesn’t allow arrays of different types. You can introduce
AWS::Struct class and use it as a returning value.
–
Kent
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.