Patent ID: 8195830

Claim:
An apparatus for transferring data, over a network, between a client process executing on a client device and a Web service executing on the apparatus, the apparatus comprising: one or more processors; one or more storage devices storing instructions which, when processed by the one or more processors, cause: receiving, from the client process, a request message that indicates a request for a service provided by the Web service; in response to receiving the request message, determining a first size for a portion of a file to be transferred between the client process and the Web service, wherein the portion of the file is less than all of the file; after determining the first size, processing a first Simple Object Access Protocol (SOAP) message that includes a first portion of the file, a file identifier that identifies the file, and a first data transmission serial number that identifies the first portion relative to other portions of the file, wherein the size of the first portion is equal to the first size; after the first SOAP message has been transferred between the client process and the Web service, determining, based on one or more criteria, a second size for a different portion of the file, wherein the second size is different than the first size; and after determining the second size, processing a second SOAP message that includes a second portion of the file, the file identifier, and a second data transmission serial number that identifies the second portion relative to other portions of the file, wherein the size of the second portion is equal to the second size.