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



If you're the server then Scotts HTTP API won't really help. That's more
of a client to make the requests. (It may have some other features that
can help though, I've just never used it).

If it was JSON (which you may want to look into.. XML is old hat..haha) ,
then I would say whole heartedly to use his port of the YAJL parser for
parsing AND building the JSON.

You will want a web server to accept the requests. Then parses the XML...
Then returns the response.

A CGI program will do this with the Apache server. PHP should be able to
do it as well. In fact, parsing the XML is the "hard" part of this whole
thing.

I think you may want to do some reading on the mechanics behind web
requests/responses to see how that works, then it may make more sense as to
how it should be done.

Brad
www.bvstools.com

On Tue, Nov 3, 2015 at 4:48 PM, Matt Shea <mshea@xxxxxxxxxxxx> wrote:

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.



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.