Just as an update for those interested and the archives.
The IBM representative on my SR for this said "I'm fairly certain that the total size limit of all parameters on a remote program call such as you're using is 16 MB, although I'm having trouble locating the documentation for this limit. This would mean you're going to want to have an option for retrieving the larger files in chunks. ... I will continue to search for some supporting documentation. ...
You are correct in identifying the remote program call as the bottleneck
that is restricting you from exceeding the 16MB parameter limitation.
This is a limitation of the remote command host server."
I have submitted a DCR requesting a terraspace remote command host server.
Duane Christen
--
Duane Christen
Senior Software Engineer
(319) 790-7162
Duane.Christen@xxxxxxxxxx
Visit PAETEC.COM
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Christen, Duane
Sent: Wednesday, May 19, 2010 3:15 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] SOAP Webservice returning PDF document
Scott:
When would you have it ready? ;-)
I'm don't have the experience, time, or inclination at the moment to go that far. I used the RDI wizards to produce the WSDL interface code and Java bean code and probably trying to push it too far. (I'll let IBM decide on that.) In the mean time I am nearly finished with the modifications to chunk the file(s).
Duane Christen
--
Duane Christen
Senior Software Engineer
(319) 790-7162
Duane.Christen@xxxxxxxxxx
Visit PAETEC.COM
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Wednesday, May 19, 2010 2:36 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] SOAP Webservice returning PDF document
hi Duane,
QZRUCLSP is an API intended to let you call procedures in a service program without binding to that service program. Documentation can be found here:
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/qzruclsp.htm
I don't know if the API will allow teraspace allocation or not -- but if it does, it'd be the program calling the API that makes a decision about whether to use teraspace or not -- and that program is doubtless some IBM code, not something you have control over.
If you don't mind coding the SOAP logic yourself, it'd be pretty easy to create an RPG program that you can call (via CGI & Apache, not
WebSphere) that returns a document of any size without problems.
Err.... I should qualify that... it'd be pretty easy for _me_ :)
On 5/19/2010 2:23 PM, Christen, Duane wrote:
I've submitted a service request to IBM to get their take on the problem. It looks to me like the server program, QZRUCLSP, is a *SNGLVL storage model program and is thus incapable of creating the necessary storage allocation> 16M.
I will probably have to "chunk" the file(s) and will have to deal with
the stateless nature of the calls to the service program, but it looks
like a lot of fun. (No sarcasm intended.)
Thanks for all the suggestions.
Duane Christen
--
Duane Christen
Senior Software Engineer
(319) 790-7162
Duane.Christen@xxxxxxxxxx
Visit PAETEC.COM
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Richard Schoen
Sent: Wednesday, May 19, 2010 1:08 PM
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] SOAP Webservice returning PDF document
MTOM is nice because of chunking. We use it with ASP.Net.
However we had to write specific client side code.
Do you have an Axis example of using MTOM ?
Regards,
Richard Schoen
RJS Software Systems Inc.
Where Information Meets Innovation
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
----------------------------------------------------------------------
message: 1
date: Wed, 19 May 2010 09:13:26 -0400
from: TAllen@xxxxxxxxxxxx
subject: Re: [WEB400] SOAP Webservice returning PDF document
The Axis2 web services framework uses MTOM for attachments. I don't believe DIME is supported by Axis2 and I'm not sure DIME is still supported.
Thanks,
Todd Allen
EDPS
Electronic Data Processing Services
tallen@xxxxxxxxxxxx
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To
post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.