×
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.
I assume you have an Apache or other HTTP server set up to handle incoming requests. If so, why not parse the XML data using PHP and pass off the parsed data to DB2 via stored procedure? PHP has a built in parser and a huge community to lean on for questions. The XML parsing seems much better suited for PHP than RPG. Perhaps I am oversimplifying.
Thanks,
Todd
-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Matt Shea
Sent: Tuesday, November 03, 2015 5:49 PM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: [WEB400] IBM i Receive XML POST
Hi Everyone,
I have a requirement to begin receiving POSTed XML requests from a customer, process the request, and return an XML response back. I'm not sure where to begin. I have attempted this in PHP but have not been successful.
So now I'm considering handling this in RPG using Scott's HTTPAPI but I haven't located an example that receives a XML POST request, only those that read from existing XML files.
Does anyone have thoughts on best route to take without investment in another software package as there is no budget? RPG vs PHP vs ???.
Thanks in advance,
Matt
--
This is the Web Enabling the IBM i (AS/400 and 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.
For More Than 80 Years—Delivering Solutions That Exceed Expectations.
This communication and any transmitted documents are intended to be confidential. If there is a problem with this transmission, please contact the sender. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.
As an Amazon Associate we earn from qualifying purchases.