Bharath, yes, there are some excellent ways to parse XML on the server using Java. But consider this. You have an object to populate with the data you get back from the server. This data is going to be in a Map (HttpServletRequest). It's already structured for you. Simply pull the values out of the map. Why the extra step of parsing XML?
With regards to XML-RPC, like I said, I
avoid sending XML
if at all possible. Sometime it does make more sense (
SOAP, WSDL, etc). You asked a pretty generic question with no real context and that is what I was giving an answer to. If you would like to get into more specifics about your problem domain then I'm sure we could provide some pinpointed advice to that situation.