I´m trying to build a Rails 4+ SOAP webservice with the wash_out gem and things look pretty straight forward. What I need is simply output an array of records fetched from a rails model, the complexity comes because my model is actually a MongoDB…
Using Rails washout I have a class as a complex type
class Hdr < WashOut::Type
map :Hdr => {
:Timestamp => :datetime,
...
}
end
class HdrContainer < WashOut::Type
type_name 'Hdr_con'
map :Hdr => Hdr
end
And I use it as…