Patent ID: 8719421

Claim:
A computer implemented method for cross domain interaction of a Web application, wherein a Web application belonging to a first domain needs to interact with a service belonging to a second domain, the method comprising: creating an iFrame in a webpage, wherein the iFrame belongs to the first domain; creating a request form in the iFrame, wherein the request form comprises a service request input; submitting the request form to a Web server providing a service belonging to the second domain, wherein the iFrame is stored on a computer that is different from the Web server; receiving a response from the Web server, the response being in response to the submitting of the request form, wherein the response from the Web server refreshes the iFrame, wherein the response from the Web server changes the domain, to which the iFrame belongs, to the second domain; performing cross domain interaction with the service belonging to the second domain with information contained in the request form: creating a result form in the iFrame based on the result from interacting with the service, and submitting the result form to a Web server providing a service belonging to the first domain; refreshing the iFrame by receiving a response from the Web server providing the service belonging to the first domain, and changing the domain, to which the iFrame belongs, to the first domain, and processing the result in the result form; and locally keeping user credentials for the first domain in the Web server providing the service belonging to the first domain.