× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



In some cases it is the only way because you don't have control over the
other end. But please know that more than likely the document is being
Base64 encoded which will increase the size by around 3 times (Scott,
correct me if I am wrong in that amount. I know we talked about this
earlier this year). That means a document that is 1MB is then bloated to
3MB to be sent safely over the wire.

I wonder if there is the potential need for a web service file VAN (Value
Added Network)? [shudder]

Aaron Bartell
http://mowyourlawn.com

On Tue, Oct 21, 2008 at 9:29 AM, Charles Wilt <charles.wilt@xxxxxxxxx>wrote:

Admittedly, I've not done it either way at this point. So correct me
if I'm wrong, but I think I'd prefer to send the document inside the
XML.

Mainly because that way I don't have to providing a publicly
accessible repository with appropriate security.

Charles


On Tue, Oct 21, 2008 at 9:26 AM, Aaron Bartell <aaronbartell@xxxxxxxxx>
wrote:
This is purely opinion, but just because XML says you *can* send encoded
files in a document doesn't mean you should. I am of the opinion that it
is
better to send a URL (i.e. FTP or HTTP) to the resource that is to be
downloaded. For example:

<fieldownload fileURL="http://mydomain.com/repository/file1234.pdf";
user="user1" password="pw1234" />


Aaron Bartell
http://mowyourlawn.com


On Tue, Oct 21, 2008 at 1:56 AM, beppecosta <beppecosta@xxxxxxxxxxx>
wrote:

I've to send via https an XML that contains inside a 500 to 1,000 pages
pdf
encoded into byte64. This can result in a big XML.

--- Mar 21/10/08, Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx> ha scritto:
Da: Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx>
Oggetto: Re: HTTPAPI xml size limit
A: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
Data: Martedì 21 ottobre 2008, 01:21

AFIAK, the limit would be 9999999999999999 bytes but I can't say that
I've ever tested that (In fact, I'm pretty sure I've never seen an
XML
document that's anywhere near that large.)

beppecosta wrote:
Hello,

is there a size limit of the xml document that can be sent with
http_url_post_raw of the Scott Klement HTTPAPI ?

Thanks.
Giuseppe.

--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.





Scopri il blog di Yahoo! Mail:
Trucchi, novità e scrivi la tua opinione.
http://www.ymailblogit.com/blog
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.