Error while accessing SAP RFC thrub BC Server


If this is not the right forum, please apologise.

I was trying to invoke a SAP RFC directly from an XML file. Hence I created a simple XML file which invoked SAP RFC. Then subsequently went to the BC Server and created routing rule. And when I tried to run the XML file through the BC Server, instead of executing the page, the server just parses the input file in the browser. What could be wrong here? Can some one help me please?