|
In terms of parsing the XML request, look at Scott's port of the EXPAT XML parser. Some of the examples are older than others (ie. QDCXLATE < iconv() < O_TEXTDATA for ASCII -> EBCDIC translation) so you may want to peruse them all before starting your application so you can use the best option for your release (I think O_TEXTDATA didn't appear until V5R3). This is also available from www.scottklement.com. I also have some code which I may be able to send as an example if you are interested (pending an okay from my manager). For creating your XML response you might consider using CGIDEV2. Jon Paris has been a proponent of this method and may have some articles with examples kicking around. Good luck and HTH, Adam midrange-l-bounces@xxxxxxxxxxxx wrote on 13/07/2006 11:39:09 AM:
HTTPAPI is the answer see www.scottklement.com -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jim Franz Sent: Thursday, July 13, 2006 10:31 AM To: MIDRANGE-L@xxxxxxxxxxxx Subject: snd and rcv xml data Have a customer asking to place orders via xml files rather than the
user
entry cgi web screens running on our iSeries using Apache http server.
The
web screens accept multiple pages of data, then generate an order#. They need that order number back. From many years ago, we also have ftp
server
receiving orders and creating return files with order numbers they can
get.
But this cust asking why they can't talk directly thru our http server, place the order and get a response. I assume I need a cgi pgm that will authenticate, rcv, calc, respond, but trying to understand how to format
a
response. At V5r3 and not (yet) running websphere server. Perhaps a few hundred orders a day like this.. tia Jim Franz -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
##################################################################################### Attention: The above message and/or attachment(s) is private and confidential and is intended only for the people for which it is addressed. If you are not named in the address fields, ignore the contents and delete all the material. Thank you. Have a nice day. For more information on email virus scanning, security and content management, please contact administrator@xxxxxxxxxxxx #####################################################################################
As an Amazon Associate we earn from qualifying purchases.
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.