Yep, I agree. Net.Data is just another CGI program. In my case, Net.Data
will do stpes 1,2,3,5. My question is how to do step 4. I took a quick
look at RPG-XML site, and it may be what I'm looking for. How much does it
cost?


Larry Kleinman
Kleinman Associates, Inc.
212-949-6469
203-255-4100



"Aaron Bartell"
<aaronbartell@gma
il.com> To
Sent by: "Web Enabling the AS400 / iSeries"
web400-bounces@mi <web400@xxxxxxxxxxxx>
drange.com cc

Subject
06/26/2008 10:19 Re: [WEB400] UPS shipping rates with
AM Net.Data


Please respond to
Web Enabling the
AS400 / iSeries
<web400@midrange.
com>






This is something you can't technically do from HTML/Javascript. By
default, and per the spec, you can't make a request to a different server
than what the original request came from. What you CAN do is make a request
from Net.Data while it is being run on the server and then have the results
be displayed on the page.

I do something very similar for one of my customers where they need to make
an XML request from their RPG CGI application to a credit reporting agency.
The basic flow is as follows:

1) User clicks button in browser
2) RPG CGI program recieves in personal information
3) Compose XML request
4) send/recieve XML request/response to/from TransUnion
5) Compose HTML response and send results back to browser

<vendor>
In my case steps 3 and 4 use RPG-XML Suite (www.rpg-xml.com).
</vendor>

HTH,
Aaron Bartell

On Thu, Jun 26, 2008 at 8:58 AM, Larry Kleinman <larry@xxxxxxxxxxxxxxxxx>
wrote:


I don't think that Net.Data is an issue.....the question is can I do it
from
"ordinary" HTML. I has also thought of using PASE, but how do I access
the
PASE environemnt from the HTML running on the Apache server?

Larry Kleinman
Kleinman Associates, Inc.
212-949-6469
203-255-4100

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

This thread ...

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.