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.