cancel
Showing results for 
Search instead for 
Did you mean: 

SimpleProxyServlet replacement in a production environment

Former Member
0 Kudos

Hello,

I am currently working on a UI5 desktop application which is based on individual REST queries to a remote external server (on which I have no control I can just send my queries and receive my responses in JSON format). My application works very well with the SimpleProxyServlet locally (to avoid the cross domain issue) but I need to deploy my solution on HANA Cloud. That is why I would like to know if is there a servlet similar to SimpleProxyServlet that Ican use for prod environment or any other solution that would allow me to deploy and to use my application on HANA Cloud. Thank you in advance for your answers.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

there is a similar proxy servlet provided on github, see following article about the details: http://scn.sap.com/community/developer-center/cloud-platform/blog/2013/05/08/get-around-cross-origin...

In case you plan to switch to this one and have questions, feel free to get back to me again.

As Wouter pointed out, you also need to take care about the access to your on-premise services when running your application in a productive environment. For this, the SAP HANA Cloud Platform provides the Connectivity Service, please have a look here for more details.

Best regards,

Timo

Former Member
0 Kudos

I used the Connectivity Proxy Servlet and it's working perfectly. Thanks

Answers (1)

Answers (1)

WouterLemaire
Active Contributor
0 Kudos

Hi,

Where is your remote external server? Is this in your local network or somewhere public?

Here is an example of accessing data in the cloud from your service in your private network:

http://scn.sap.com/community/developer-center/cloud-platform/blog/2013/10/14/expose-data-from-the-ba...

Or some other examples:

http://scn.sap.com/docs/DOC-41427

http://scn.sap.com/docs/DOC-41430

Kind regards,

Wouter

Former Member
0 Kudos

The server is external in public network.