I created an application (i.e. AppOne) in Java exposing REST services and deployed it on a CF@HCP site (appone.cfapps.sap.hana.ondemand.com).
I created another application (i.e. AppTwo, also expose some REST services in Java) that uses a RS client to call a REST service exposed by AppOne. However, AppTwo was deployed on another CF@HCP site (apptwo.cfapps.us10.hana.ondemand.com, aka. a US site subscribed with "HCP, Starter Edition for Cloud Foundry Services" ).
The problem is that the call from AppTwo to AppOne never returns, it will get time out no matter how long I set the timeout value. Following are my findings while trying to get the reason.
a. By analyzing the log of AppTwo, looks like the call/request was never been sent out successfully.
b. I can call the AppOne REST service with browser without any problem.
c. If I deploy AppTwo on to the same CF@HCP site that AppOne lives, the call can work well.
Is such cross-site call on CF@HCP allowed? or did I miss some thing crucial to make it work?
thanks