select manual

I have one web service developed in rails.
Necessary to execute to mount datasets dinamycs in software customer.
Use connection SOAP with XML.
FORMER Customer sends: "select cod_client, name, adress from clients".
Serving it mounts xml with reply. I don't know if I was very clearly
in mine doubts, my English is not very good.