Recently i am having a problem with the XMLRPC service. I am getting empty white spaces before the actual xml response. I have debugged and checked, all the response coming from the xmlrpc service is coming fine. But for some reason the final response that i get in my java client has empty spaces and hence the parsing fails on the client side. The prob wasnt initially there. It came up after after i made some changes but i have no clue what. Could someone tell me on how i can get to the root of the problem. As of now i know there is no problem with the services modules. If someone can point me to what is the sequence of event flows( the sequence of code executed) from the moment the server recieves the xmlrpc request and the end point when the final response leaves the drupal server.