When I send the following URL using my application I am running into following error:

Server returned HTTP response code: 400 for URL: <http://maps.googleapis.com/maps/api/distancematrix/xml?origins=Medical> Centre+ 308 George Street+ Sydney&destinations= Science Museum Exhibition Road London SW7 2DD&mode=driving&sensor=false

But by entering the URL into your browser would find out that its correct!!