[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: http_url_post_xml : Size limit ?
Hi all.
I think he is referring to the max length that SOAP can be which is defined as a string 32767 minus 2 bytes because its varying so a limit of 32765.
But to answer his question, yes there is a limit. I ran into the same problem. Write your xml to a stream file instead of internally to the SOAP workfield and then use http_url_post_stmf to send the complete file then there is no limit.
Eg.
rc = http_url_post_stmf(
'http://someserver/'
+'someservice'
: %trim(PathXml) - your stmf
: %trim(Fullfile) - another stmf to receive the response
: timeout
: HTTP_USERAGENT
: 'application/soap+xml'
: SoapAction);
Hope it helps.
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Wednesday, November 09, 2011 1:26 AM
To: HTTPAPI and FTPAPI Projects
Subject: Re: http_url_post_xml : Size limit ?
32767 was the RPG string limit in some old releases.
32766 is the limit of a record in a physical file.
...but Jerome mentioned 32765...
The only thing (that I can think of) that's limited to 32765 is the size
of a FAT32 partition on Windows XP. That's obviously not where he got
the limit from :-)
On 11/8/2011 5:10 PM, Henrik Rützou wrote:
>
> 32767 dosn't that ring a bell ?
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------