Asynchronous Web Service Invocation Model
First Claim
1. A method for asynchronously invoking web services in a distributed network, said method comprising:
- generating a web service request in a first thread by an application residing on a client in said distributed network;
transmitting the web service request by the client to a web service residing on a server;
releasing the first thread such that said application is enabled to perform one or more other tasks while the web service request is carried out, wherein said one or more other tasks do not require a result of said web service request;
processing the web service request by the web service residing on said server and obtaining the result of said web service request;
polling for said result of the web service request by the application; and
retrieving said result of the web service request by the application upon receiving an indication that said result is available.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method for asynchronously invoking a remote web service on a server by application code residing on a client. The web service invoke request received from application code residing on the client, passes an invoke request to a web service residing on a server, receives a result from the web service, the result relating to the invoke request passed by the client, and transmits the result to the application code. Once the invoke request is passed to the web service by the client, the application code is freed to perform other tasks. The result may be transmitted to the application code from the client as part of a call back object passed to the client by the application code, as a result of application code polling of the client, or by the application code ending the task generated by the client.
-
Citations
19 Claims
-
1. A method for asynchronously invoking web services in a distributed network, said method comprising:
-
generating a web service request in a first thread by an application residing on a client in said distributed network;
transmitting the web service request by the client to a web service residing on a server;
releasing the first thread such that said application is enabled to perform one or more other tasks while the web service request is carried out, wherein said one or more other tasks do not require a result of said web service request;
processing the web service request by the web service residing on said server and obtaining the result of said web service request;
polling for said result of the web service request by the application; and
retrieving said result of the web service request by the application upon receiving an indication that said result is available. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system for asynchronous invocation of web services in a distributed network, said system comprising:
-
a client connected to the distributed network and having an application executing thereon, said application having generated a web service request in a first thread, wherein said client transmits the web service request to a web service and releases said first thread such that the application is enabled to perform one or more other tasks while the web service request is processed, wherein said one or more other tasks are not dependent on a result of said web service request; and
a server connected to the distributed network and having the web service deployed thereon, wherein said server receives the web service request from the client, processes said web service request and obtains a result;
wherein said application periodically queries for said result of the web service request and retrieves the result upon receiving an indication that said result is available. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A computer readable medium having instructions stored thereon which when executed by one or more processors cause a system to:
-
generate a web service request in a first thread by an application residing on a client in said distributed network;
transmit the web service request by the client to a web service residing on a server;
release the first thread such that said application is enabled to perform one or more other tasks while the web service request is carried out, wherein said one or more other tasks do not require a result of said web service request;
process the web service request by the web service residing on said server and obtain the result of said web service request;
poll for said result of the web service request by the application; and
retrieve said result of the web service request by the application upon receiving an indication that said result is available.
-
Specification