Skip to Content
Former Member
Nov 12, 2014 at 03:09 PM

How to replace server url to proxy url in OData Response


Hello experts,

i'm facing a problem with SAP gateway in combination with a proxy . We use a proxy to call SAP gateway from the Internet.

So we make a http call to the proxy like: http://proxyserver:8000/sap/opu/odata/sap/testservice.

But in the OData response in every href tag of the xml the url shows the internal server url like

atom:link rel="self" href="http://internalserver:8000/sap/opu/odata/sap/testservice/$metadata"/>

Especially in a senario when using a proxy we don't want to give the internet (external) user information about the inner infrastructure.

Is there a posibillity to change the urls in the OData document to the url of the proxy?

Many thanks