RoR newbie

Hi,

How do I extract the xml body from a request within a controller? The controller keeps processing the xml requests and responds back.

Also , would like to know whats the best way to map the xml to a model? Should this be done manually where each parameter in the xml is mapped to the model class?

Thanks in advance,

regards,
Rajmohan