[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: providing web services via HTTPAPI
Hi,
my opinion is that websphere is a very good choice if you are a rpg
programmer and wants to create web services on top of rpg programs.
We are using WebSphere (was 6.1 and WSDC 7.0) and have several
projects where we are building webservices on top of rpg programs.
We do not need to know anything about java and xml/soap....but of
cource it helps to have a knowledge about it.
WebService Wizard's help's us creating these webServices based on rpg
programs.
WebSphere handles all the xml parsing and "communicates" with rpg
programs via the entry parametres.
And when we need a web service client....we use Scott's httpapi.
Best regards
Magne
>-----Original Message-----
>From: Scott Klement [mailto:sk@xxxxxxxxxxxxxxxx]
>Sent: Tuesday, June 19, 2007 07:08 PM
>To: 'HTTPAPI and FTPAPI Projects'
>Subject: Re: providing web services via HTTPAPI
>
>Elden_Fenison@xxxxxxxxxxxxxxxx wrote:
>> We'd like to provide something like web services using this
>> methodology. However, I'm not seeing any real examples of this. I
>> would presume that XML would be the best way to communicate between
>> the client and server. Has anyone on the list done anything like
this?
>> Is there a better way to provide web services that would be more
>> robust and/or more straightforward?
>
>I think it'd be more robust and straightforward to use the HTTP
server
>that comes with i5/OS instead of trying to write your own HTTP server
>from the ground up.
>
>You can have the HTTP server launch an RPG program and pass it data
>using the CGI interface. Then, your RPG program doesn't have to worry
>about sockets or the HTTP protocol or anything like that. All it has
to
>do is receive the XML data and parse it, then send back a new XML
>document in response.
>
>WebSphere and PHP are also good alternatives. They'll do more of the
>work for you than doing it manually (via parsing your own XML, and
>creating your own XML response) but of course they require you to
>understand PHO and/or Java. In the case of WebSphere, there's also
>additional costs, and hardware requirements that have to be accounted
for.
>
>Good luck
>---------------------------------------------------------------------
--
>This is the FTPAPI mailing list. To unsubscribe, please go to:
>http://www.scottklement.com/mailman/listinfo/ftpapi
>---------------------------------------------------------------------
--
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------