tags:

views:

8

answers:

0

Hi, I need to be able to make AJAX calls to a server other than the originator of a web-page (both servers are trusted). To be more specific, I have server1 that hosts a GWT application which then communicates with service provider on server2. The possibility to have server1 and server2 on different hosts is a business requirement. CORS is not an option, since it is not supported by IE7. The proxy on server1 is an option, but client wants to investigate other solutions. I am looking into possibly using JSONP, but all requests then have to be GET requests, and there are cases when my client's requests exceed URI length allowed by IE (for example, when a user edits a large text and it has to be synchronized with DB on server2). Can anyone suggest another alternative that would work in my case? Also, I was thinking into implementing a framework that would allow to split JSONP requests so that each segment is under 2083 characters, and then have server2 combine the parts together and serve the response. Did anyone face the same problem? Are there any available solutions/techniques to attack this problem?

Thank you!