You have a problem with your webdispatcher configuracion, I think the table HTTPURLLOC is the key point of your problem..
Check the following blog http://wiki.scn.sap.com/wiki/display/BSP/Using+Proxies
and note 561885 - Generation of URLs (SAP Web Dispatcher/Reverse Proxy)
BR
@WenSolman