Patent ID: 7490141

Claim:
A method, comprising: receiving by a proxy server an Ajax request from a requesting Ajax client for a service by a local Ajax server within a local domain; forwarding the request from the proxy server to the local Ajax server, the proxy server asking the local Ajax server for credentials to be used in an external domain Ajax request; receiving at the proxy server, from the local Ajax server, metadata for the external domain request that the proxy server will make to an external Ajax server in an external domain; initiating with the proxy server the external domain request to the external Ajax server, the proxy server using the credentials of the external domain Ajax request, the proxy server performing authentication and domain mapping with the external Ajax server; receiving at the proxy server, from the external Ajax server, a response of the requested service; forwarding the response from the proxy server to the requesting client; using a shortcut by the proxy server for subsequent requests by the Ajax client for the service; maintaining by the proxy server the domain mapping with the external Ajax server for the subsequent requests for the service; and making external domain requests by the proxy server to the external Ajax server in the external domain for the subsequent requests for the service without exposing the local Ajax server to the external domain and without requiring the proxy server to relay external requests from the local Ajax server.