I got it working using CGIDEV2. I ran into some quirks I had to work around. Not sure if CGIDEV2 is at fault or the .NET client.

Thanks



-----Original Message-----
From: Scott Klement [mailto:web400@xxxxxxxxxxxxxxxx]
Sent: Thursday, June 18, 2015 3:44 PM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] Advice-Webservice with file transfer

Justin,

Yeah, in this case I think using something like CGIDEV2 would probably be the best way.

The IWS toolset that IBM provides doesn't allow "attachments" (file
uploads/downloads) to my knowledge at this point, so coding this yourself with CGIDEV2 is probably the best way.

-SK


On 6/17/2015 10:01 PM, Justin Taylor wrote:
Requirements:
--Client app will submit several strings and a stream file (text or ZIP).
--Server app will return a result set and a PDF file


I'm currently accomplishing this with a DB2 external stored procedure.
The input/output files are handled via QNTC to a Windows file share.
The Windows people have informed me that they're pulling the plug on
the Windows share. They are not open to other file transfer protocols
like FTP or NFS. They insist that I must pass the files on the app
call. I looked into the possibility of doing this in the existing
stored procedure, but that doesn't look practical to me.

I have a CGIDEV2 web app that does something similar, so I'm thinking
about trying what amounts to a RESTful webservice using CGIDEV2.
Does that sound like it would work? Any better suggestions?



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.