×

Processing fast and slow SOAP requests differently in a web service application of a multi-functional peripheral

  • US 7,904,917 B2
  • Filed: 12/18/2006
  • Issued: 03/08/2011
  • Est. Priority Date: 12/18/2006
  • Status: Active Grant
First Claim
Patent Images

1. A method for processing different types of SOAP 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, a SOAP request from a client application;

    determining whether a time required to process the SOAP request and data associated with the SOAP request is long enough to cause the client application to timeout;

    if the time required to process the SOAP request and said data is not long enough to cause the client application to timeout, then processing the SOAP request as a request of a first type;

    if the time required to process the SOAP request and said data is long enough to cause the client application to timeout, then processing the SOAP request as a request of a second type;

    if the SOAP request is of the first type, then, without narrowing a transmission control protocol (TCP) window of a connection between the service application and the client application, placing the SOAP request in a first queue for subsequent handling and processing the SOAP request and said data;

    if the SOAP request is of the second type, then;

    determining whether a second queue that is different than the first queue is full;

    if the second queue is full, then sending, to the client application, a response that indicates that the service application is presently unable to handle the SOAP request;

    if the second queue is not full, then narrowing the TCP window and placing the SOAP request in the second queue for subsequent handling, and then, when the time required to process the SOAP request is no longer long enough to cause the client application to timeout, widening the TCP window and processing the SOAP request and said data.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×