The action 'IncluirCarro' is used to create a new data in api, and the method 'ObterModelo' read some data from APi.
I'm not sure how to add data through SOAP. At the line: puts(webmotors.call :obter_estoque_atual) I can read the xml of some data, but dont know how to parse this data to load it in my view, or which parameter put in 'incluir_carro' method to create the register of my data in the APi.
There is not so much tutorials or documentation from Savon website ou stackoverflow about how to work with it. I saw the Railscast 290, but the tutorial is old and it just read data.
Someone have experience with Savon? I need some light here.