Integrating eventing in a web service application of a multi-functional peripheral
First Claim
1. A method for processing a plurality of event subscription requests at a multi-functional peripheral (MFP), wherein the MFP comprises a plurality of service applications that each provides at least one service, the method comprising:
- receiving, at a service application of the plurality of service applications, a SimpleObject Access Protocol (SOAP) request, from a client application, to subscribe to an event, wherein;
the SOAP request is an event subscription request;
the service application includes an event manager that (a) is a component of the service application and (b) implements an eventing specification;
the service application executes as a single process and executes the functionality of the event manager in addition to other functionality;
the event manager maintaining identification information that identifies at least the event and an event sink specified in the SOAP request;
the event manager receiving, from a platform of the MFP, notification data that indicates that the event occurred;
the event manager comparing the notification data with the identification information;
based on the comparison, the event manager composing a notification message for the client application; and
sending the notification message to the event sink.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques are provided for efficiently processing SOAP requests at a Web service application (WSA) of a multi-functional device (MFP). In one technique, a WSA includes at least three threads. An external request processing thread processes SOAP requests from different client applications. A request processing thread processes a SOAP request according to the business logic of the WSA. A internal communications thread communicates with other components of the MFP that are distinct from the WSA. In another technique, a WSA processes different SOAP request differently, depending on the size of the SOAP and the resources required to process the SOAP request so that fast requests may be processed immediately while slow requests are pending. In another technique, a WS-Eventing specification is implemented within a WSA to simplify the event subscription and notification process.
-
Citations
36 Claims
-
1. A method for processing a plurality of event subscription requests at a multi-functional peripheral (MFP), wherein the MFP comprises a plurality of service applications that each provides at least one service, the method comprising:
-
receiving, at a service application of the plurality of service applications, a Simple Object Access Protocol (SOAP) request, from a client application, to subscribe to an event, wherein; the SOAP request is an event subscription request; the service application includes an event manager that (a) is a component of the service application and (b) implements an eventing specification; the service application executes as a single process and executes the functionality of the event manager in addition to other functionality; the event manager maintaining identification information that identifies at least the event and an event sink specified in the SOAP request; the event manager receiving, from a platform of the MFP, notification data that indicates that the event occurred; the event manager comparing the notification data with the identification information; based on the comparison, the event manager composing a notification message for the client application; and sending the notification message to the event sink. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A machine-readable medium for processing a plurality of event subscription requests at a multi-functional peripheral (MFP), wherein the MFP comprises a plurality of service applications that each provides at least one service, the machine-readable medium carrying instructions which, when processed by one or more processors, causes:
-
receiving, at a service application of the plurality of service applications, a Simple Object Access Protocol (SOAP) request, from a client application, to subscribe to an event, wherein; the SOAP request is an event subscription request; the service application includes an event manager that (a) is a component of the service application and (b) implements an eventing specification; the service application executes as a single process and executes the functionality of the event manager in addition to other functionality; the event manager maintaining identification information that identifies at least the event and an event sink specified in the SOAP request; the event manager receiving, from a platform of the MFP, notification data that indicates that the event occurred; the event manager comparing the notification data with the identification information; based on the comparison, the event manager composing a notification message for the client application; and sending the notification message to the event sink. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. A multi-functional peripheral (MFP) for processing a plurality of event subscription requests at the MFP, wherein the MFP comprises a plurality of service applications that each provides at least one service, the MFP being configured to:
-
receive, at a service application of the plurality of service applications, a Simple Object Access Protocol (SOAP) request, from a client application, to subscribe to an event, wherein; the SOAP request is an event subscription request; the service application includes an event manager that (a) is a component of the service application and (b) implements an eventing specification; the service application executes as a single process and executes the functionality of the event manager in addition to other functionality; cause the event manager to maintain identification information that identifies at least the event and an event sink specified in the SOAP request; cause the event manager to receive, from a platform of the MFP, notification data that indicates that the event occurred; cause the event manager to compare the notification data with the identification information; based on the comparison, cause the event manager to compose a notification message for the client application; and send the notification message to the event sink. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36)
-
Specification