I have two web servers (call them A and B), one with a ASP.NET web API (A) and the other serves a web page (B).
How do I get around the cross-domain issue ? I serve the web page from B and I run some Java servlets at that server. I also want to access database content on server A which has a ASP.NET web API available to get at it.
I could open a TCP/IP socket between the two servers to share info, but since I have a web API, how can I connect during the doGet() in the the Java Servlet to the web API to get the information ?
Any help would be greatly appreciated.