× 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.



Encoding your file into XML is the pure beauty of XML. As long as you
get everything between the tags, you've got the entire payload !!

I would recommend making sure to Base64 encode your attachment before
putting it into the XML though.

As long as size doesn't bite you, it's XML at its finest use of being an
envelope for any type of data.

Regards,
Richard Schoen
RJS Software Systems Inc.
"Get the information you need. Now!"
Document Management, Workflow, Report Delivery, Forms and Business
Intelligence
Email: richard@xxxxxxxxxxxxxxx
Web Site: http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT


-----Original Message-----
----------------------------------------------------------------------

message: 1
date: Tue, 21 Oct 2008 10:29:51 -0400
from: "Charles Wilt" <charles.wilt@xxxxxxxxx>
subject: Re: HTTPAPI xml size limit

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.





As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.