Queuing of invocations for mobile web services
First Claim
1. A system for communicating between an application and a web service, comprising:
- a messaging system comprising a first node and a second node, and further comprising a first message queue at the first node and a second message queue at the second node;
a first communication interface coupled between the application and the messaging system; and
a second communication interface coupled between the messaging system and the web service;
wherein the first communication interface is configured to receive a web service request from the application, to format the web service request into a Simple Object Access Protocol (SOAP) request message, to include the SOAP request message in a first electronic message, and to transmit the first electronic message to the messaging system;
wherein the messaging system is configured to receive the first electronic message at the first node, to queue the first electronic message at the first message queue, to detect, by the first node, whether connectivity is established between the first node and the second node, to transmit the first electronic message across a communications network to the second node after connectivity is detected by the first node, to queue the first electronic message at the second message queue, and to transmit the first electronic message from the second node to the second communication interface;
wherein the second communication interface is configured to receive the first electronic message from the messaging system, to extract the SOAP request message from the first electronic message, and to transmit the SOAP request message to the web service;
wherein the second communication interface is configured to receive a web service response from the web service, the web service response including a SOAP response message;
wherein the second communication interface is configured to include the SOAP response message in a second electronic message, and to transmit the second electronic message to the messaging system; and
wherein the messaging system is configured to receive the second electronic message at the second node, to detect, by the second node, whether connectivity is established between the second node and the first node, and to transmit the second electronic message across the communications network to the first node after connectivity is detected by the second node.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and apparatuses for communications between web service applications and web services are described. A first interface is coupled between the application and a messaging system. A second interface is coupled between the messaging system and the web service. The first interface is configured to receive a web service request from the application, to format the web service request into a Simple Object Access Protocol (SOAP) request message, to include the SOAP request message in a first electronic message, and to transmit the first electronic message to the messaging system. The messaging system is configured to receive the first electronic message at a first node, to transmit the first electronic message across a communications network to a second node, and to couple the first electronic message from the second node to the second interface. The second interface is configured to receive the first electronic message from the messaging system, to extract the SOAP request message from the first electronic message, and to transmit the SOAP request message to the web service. Furthermore, a web service response is returned from the web service through the second interface, messaging system, and first interface, to the web service application.
19 Citations
27 Claims
-
1. A system for communicating between an application and a web service, comprising:
-
a messaging system comprising a first node and a second node, and further comprising a first message queue at the first node and a second message queue at the second node; a first communication interface coupled between the application and the messaging system; and a second communication interface coupled between the messaging system and the web service; wherein the first communication interface is configured to receive a web service request from the application, to format the web service request into a Simple Object Access Protocol (SOAP) request message, to include the SOAP request message in a first electronic message, and to transmit the first electronic message to the messaging system; wherein the messaging system is configured to receive the first electronic message at the first node, to queue the first electronic message at the first message queue, to detect, by the first node, whether connectivity is established between the first node and the second node, to transmit the first electronic message across a communications network to the second node after connectivity is detected by the first node, to queue the first electronic message at the second message queue, and to transmit the first electronic message from the second node to the second communication interface; wherein the second communication interface is configured to receive the first electronic message from the messaging system, to extract the SOAP request message from the first electronic message, and to transmit the SOAP request message to the web service; wherein the second communication interface is configured to receive a web service response from the web service, the web service response including a SOAP response message; wherein the second communication interface is configured to include the SOAP response message in a second electronic message, and to transmit the second electronic message to the messaging system; and wherein the messaging system is configured to receive the second electronic message at the second node, to detect, by the second node, whether connectivity is established between the second node and the first node, and to transmit the second electronic message across the communications network to the first node after connectivity is detected by the second node. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system, comprising:
-
a Simple Object Access Protocol (SOAP) request generator configured to receive a web service request from a web service application and to format the web service request into a SOAP request message; a message generator configured to generate a first electronic message that includes the SOAP request message; and a communication interface configured to transmit the first electronic message to a messaging module comprising a message queue at a messaging system for storage until connectivity is detected by the messaging module, and to receive a second electronic message from the messaging system, wherein the second electronic message is queued at the messaging system until connectivity is detected by the messaging system. - View Dependent Claims (11)
-
-
12. A system comprising:
-
a Simple Object Access Protocol (SOAP) request extractor configured to extract a SOAP request message from a first electronic message received from a messaging system and dequeued from a message queue; and a network interface module configured to transmit the SOAP request message to a web service according to a Hypertext Transfer Protocol (HTTP) after connectivity to the web service is detected by the network interface module, wherein the network interface module is configured to receive a web service response from the web service and to transmit a second electronic message based on the web service response to the messaging system when connectivity to the messaging system is detected by the network interface module. - View Dependent Claims (13)
-
-
14. A method for communicating between an application and a web service, comprising:
-
receiving a web service request from the application; formatting the web service request into a Simple Object Access Protocol (SOAP) request message; generating a first electronic message that includes the SOAP request message; transmitting the first electronic message to the messaging system, wherein the messaging system queues the first electronic message at a first message queue in a first node and transmits the first electronic message across a communications network from the first node to a second message queue in a second node after connectivity is detected by the first node, receiving the first electronic message from the second node; extracting the SOAP request message from the first electronic message; transmitting the SOAP request message to the web service; receiving a web service response from the web service, the web service response including a SOAP response message; generating a second electronic message that includes the SOAP response message; and transmitting, the second electronic message to the messaging system, wherein the messaging system is configured to queue the second electronic message at a third message queue in the second node and to transmit the second electronic message across the communications network from the second node to the first node after connectivity is detected by the second node. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21)
-
-
22. A method for an interface between a web service application and a messaging system, comprising:
-
receiving a web service request from the application; formatting the web service request into a Simple Object Access Protocol (SOAP) request message; generating a first electronic message that includes the SOAP request message; transmitting the first electronic message to a messaging module comprising a message queue at the messaging system for storage until connectivity with a first communication network is detected by the messaging module; and receiving a second electronic message from a second message queue at the messaging system, the second message queue for storage until connectivity with a second communication network is detected by the messaging module, wherein the first communication network connects the messaging system to a web service, and wherein the second communication network connects the messaging system to the web service application. - View Dependent Claims (23)
-
-
24. A method for an interface between a messaging system and a web service, comprising:
-
receiving a first electronic message from the messaging system; dequeueing the first electronic message from a message queue; extracting a Simple Object Access Protocol (SOAP) request message from the first electronic message; transmitting the SOAP request message to the web service according to a Hypertext Transfer Protocol (HTTP) after connectivity from the interface to the web service is detected by the interface; receiving a web service response from the web service; and transmitting a second electronic message comprising the web service response to the messaging system for storage in a second message queue, the messaging system configured to transmit the second electronic message to a web service application after connectivity to the web service application is detected by the messaging system. - View Dependent Claims (25)
-
-
26. A computer readable storage device having instructions stored thereon that, when executed by a computing device, cause the computing device to perform a method comprising:
-
receiving a web service request from the application; formatting the web service request into a Simple Object Access Protocol (SOAP) request message; generating a first electronic message that includes the SOAP request message; transmitting the first electronic message to the messaging system, wherein the messaging system queues the first electronic message at a first message queue in a first node and transmits the first electronic message across a communications network from the first node to a second message queue in a second node after connectivity is detected by the first node; receiving the first electronic message from the second node; extracting the SOAP request message from the first electronic message; transmitting the SOAP request message to the web service; receiving a web service response from the web service, the web service response including a SOAP response message; generating a second electronic message that includes the SOAP response message; and transmitting the second electronic message to the messaging system, wherein the messaging system is configured to queue the second electronic message at a third message queue in the second node and to transmit the second electronic message across the communications network from the second node to the first node after connectivity is detected by the second node. - View Dependent Claims (27)
-
Specification