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



Its taken me a while but I am starting to make good progress with XML4PR
now. I have had to wrap most of the API methods myself to make it usable.
But it is very fast and very flexible.

However it is only an XML processor and validator, it cannot make HTTP web
requests nor serve requests (and I wouldn't expect it to). Its free. (well
included in the OS price)

It is going to form the XML layer of our webservices stack. With an apache
CGI layer as the server.

For consuming web services it looks like Scott's HTTPAPI is the way forward,
there doesn't seem to be any native support on the OS for making HTTP 1.0 or
1.1 requests, you have to do it yourself using the socket API's.

Making HTTP requests can become quite involved and for that reason I have a
lot of respect for Scott's API not only accomplishing it... but making it
free too!!!

All of the above aside, [If you are listening IBM "I'd really like some HTTP
Request API'S please"]

If any body ever wants any help with XML4PR, feel free to ask.

Neill

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of eftimios pantzopoulos
Sent: 21 March 2010 07:22
To: midrange List
Subject: Best Path to Follow First With Web Service.







We've encountered a need to consume a web service, and I've been immersing
myself in the net trying to work out what the best long term solution is.

I'm aware of 4 ways of approaching this. There may be more and I may have
these groupings wrong. Forgive me.

1. Use the WDSC wizard.
I'm aware that the wizard creates the plumbing to connect an RPG program or
service program procedure to a web service interface, but I'm always wary of
wizards because they're always designed to show how easy a complex task is.
They don't necessarily lead to a production and maintenance level degree of
sophistication. I would be pleased if someone could re-assure me in this
regard. That putting in the time to learn how to do this with WDSCi will
result in a production environment solution, and not just a successful demo
of how the wizard really works!

2. Buy a third-party interface such as RPG-XML. There are probably others.
My employer is loathe to spend money on big ticket items. I'm also intrigued
by Aaron Bartell's training course and will probably still buy it even
though it's structured around the RPG-XML suite.

3. Use a free interface such as Scott Klement's HTTP API Open Source
routines, or CGIDEV2. I've seen lots of references to CGIDEV2 for
implementing web services, but have only used it for XML generation.

Scott Klement's open source offering only allows a web service to be
consumed I believe.

This would do at a pinch, but I'm worried that putting in the time to use
his development tools than leaves me stranded when it comes to providing a
web service from our application


4. Spend lots of time learning how to use the iSeries APIs and asking lots
of questions in this forum.

Has anyone else gone through this exercise, or has comment on the above?




Thanks.





_________________________________________________________________
Looking for a new home? With all the latest places, searching has never been
easier.
http://clk.atdmt.com/NMN/go/157631292/direct/01/

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.