I have to connect to a web service from my RPG program. I have to send some search criteria in XML format and get back the data from the web server.For this I found a service program called HTTP API but I do not know how to use it in my program, that is, the exact syntax that goes with it.

In the source that comes with it are members called EXAMPLE1, EXAMPLE2, etc, etc. they demonstrate how to use it.

There's also a mailing list set up specifically for HTTPAPI and a related project called FTPAPI. You can sign up for that at the following link:
http://www.scottklement.com/ftpapi/ftpapilist.html

If you have further questions, I'd appreciate it if you'd ask them on that list.

Has anyone used HTTP API or any other service program that does the same (i.e. connecting to web services)?

Yes.  (I'm the author of HTTPAPI)


If anyone has used HTTP API can he/she briefly outline the procedure to be followed to fulfill the objective of connecting to the web service?

It's not that complicated. You create the XML document you want to send (which isn't really part of HTTPAPI) then you tell HTTPAPI to send it to the web service. The web service sends back a response. That's pretty much it.

The complexity is in the creating & parsing of XML data, and not really in the use of HTTPAPI -- though HTTPAPI does have some XML tools to help you.

I have also attached a document about HTTP API.

You can't send attachments to this mailing list.

Any pointers about how to use HTTP API would be very useful.

Sign up for the mailing list. Review & walk through (in debug) the sample programs included. See how they work. If you have questions, ask them on the mailing list.

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.