How much data can a web service consumer pass to a Domino LS agent through an HTTP POST?

When an HTTP POST launches a Domino LotusScript agent, the DocumentContext of NotesSession contains a document with CGI variables and other data. One of these fields, REQUEST_CONTENT, contains the data that was passed as part of the HTTP POST.

Domino 6.5 can receive about 31 KB (I think) of data into REQUEST_CONTENT. Domino 7.03 can receive (in theory) around 64MB of data in multiple REQUEST_CONTENT_xxx fields (000 to 999) with each field storing 65,403 bytes.

My question is…does any one know the maximum amount of data that can be received by a LotusScript agent in version 8 / 8.5? Is it still 64MB or is there a new mechanism to handle transferred data (new in LotusScript, that is.)

Note that “data” is being used in a general sense, but personally I’m thinking about XML. So if anyone has tidbits of info relating specifically to receiving large XML streams in LotusScript, I’d appreciate hearing those as well. Thanks.

Subject: Configurable in server document

Max HTTP post data is configurable in Domino Server document → HTTP section.

Are you calling web service ‘from’ domino web Form, and submitting it ‘to’ again Domino based agent?

Subject: I don’t think that’s what I’m looking for.

I believe that the server setting controls the HTTP server (the “front end” to Notes databases,) but doesn’t have anything to do with LotusScript’s internal abilities. That is to say, that setting in the server doc will apply to Java applets and web services as well as LotusScript agents.

My R6.5 and R7 servers had the same values in all the fields (the defaults, which are set to allow lots of data,) yet my LS agent on R7 managed a very large HTTP POST, whereas the same LS agent on R6.5 would simply lose the data if it is too large. In both cases the HTTP POST was allowed into the system because its size was within the limit in the server document. It’s just a question of how LotusScript handles it.

My specific application is of other automated processes, which I don’t control, issuing an HTTP POST on my server and passing XML to a LotusScript agent. The DTD definition specifies multiple children for some elements, and that brought me to think about size limits.

I’m already able to send out very large XML documents using LotusScript (MS objects, actually) but for receiving data I have no choice but to work with the LotusScript objects. So that’s why I was wondering if the size limits have changed or if any newer ways of working with XML in LS have been developed.

Subject: Still 64 MB

I think that the response limit is still 64 mb but splitted into multiple REQUEST_CONTENT_xxx fields (000 to 999)with each field storing 65,403 bytes.