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



Hello,

The parser is not really that important, since I have a number of
ways to do that. What I am looking for is the mechanism to
send/receive XML from my HTML/Net.data code. This CURL stuff does
that, but seems to run on every OS known to man except OS/400.

The HTTPAPI tool does exactly that -- it sends/receives data using the HTTP protocol. (It *also* has an XML parser, but that's not it's primary purpose, and you don't have to use it if you don't want to.)

So HTTPAPI is a tool for sending bytes (it doesn't matter what format they're in) over a network using the HTTP protocol. It's aimed at RPG (not Net.Data) but I expect you can call RPG from Net.Data, correct?

If you don't like that -- Brad Stone also has a similar tool called GETURI. Also designed for RPG/CL.

If you really have your heart set on cURL, it's available for i5/OS (I have it installed!), but you have to run it in PASE. That would be a non-issue from PHP (which also runs in PASE), though I don't know enough about Net.Data to know if it can invoke PASE software. But if you really want to use cURL and Net.Data can't invoke QShell or PASE, then you could always write a CL wrapper around it, and invoke that.

Does that help?

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.