Just wanted to share some info I found on this in case anyone else is interested and has not see this yet.
http://www.jawflow.net/jawflow-community/events/ibm-deep-dive/uploads/IBM%20i%206.1%20HW%20en%20SW%20extended.pdf
http://www-03.ibm.com/systems/i/software/iws/quickstart_server.html
Off to create my first web service....
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Dean, Robert
Sent: Tuesday, February 10, 2009 10:54 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Creating an RPG web service without WDSC/RDi
No, it's a parameter on the compiler. The compiler in 6.1 (and 5.4 via PTF) will store the PCML metadata in the compiled object. The HTTP Admin interface uses this information to expose the program as a service.
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Mike Cunningham
Sent: Tuesday, February 10, 2009 9:39 AM
To: 'Web Enabling the AS400 / iSeries'
Subject: Re: [WEB400] Creating an RPG web service without WDSC/RDi
Dean, how exactly do you do this? Isn't the PCML code created by the WDSC clients web service wizard?
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Dean, Robert
Sent: Saturday, February 07, 2009 2:35 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Creating an RPG web service without WDSC/RDi
Another way to do it is to use the PCML functionality built into the HTTP server, that can expose any ILE program/service program as a web service using only the HTTP Admin server (no IDE required).
________________________________________
From: web400-bounces@xxxxxxxxxxxx [web400-bounces@xxxxxxxxxxxx] On Behalf Of Mike Cunningham [mcunning@xxxxxxx]
Sent: Friday, February 06, 2009 6:07 PM
To: 'Web Enabling the AS400 / iSeries'
Subject: Re: [WEB400] Creating an RPG web service without WDSC/RDi
Intriguing way to make any rpg programmer into a web service developer, wrap the normal rpg with the extra snippets and compile
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Niels Liisberg
Sent: Friday, February 06, 2009 3:49 PM
To: 'Web Enabling the AS400 / iSeries'
Subject: Re: [WEB400] Creating an RPG web service without WDSC/RDi
Hi Mike;
I think you will find some overlaps in implementations of web-services using
RPG.
Besides to make a JSP/JAVA webservice using RDI running under WebSphere you
have other posibilies:
One way is to use the PHP. You create the webservice in PHP and call your
RPG application using the PHP toolkit, where you can call any ILE program.
Also I know that you can find a more native solution near Aarons heart at:
http://www.rpg-xml.com
And finally ... I have to go into vendor mode .. is IceBreak
IceBreak is using "annotations" into the RPG syntax which make RPG the only
language you need to define and code a web service...
Annotations are heavily used in C# and even more in NetBeans to extend
native languages to support and expose webservices.
Take a look at this tiny calculator webservice in RPG using IceBreak :
<%@ language="RPGLE" pgmtype="webservice" %>
<%
h nomain
p*name++++++++++..b...................keywords++++++++++++++++++++++++++comm
ents++++++++++++
p Calculator B export
d Calculator pi
d x 10i 0 Input
d y 10i 0 Input
d z 10i 0 Output
/free
z = x + y;
/end-free
p Calculator E
%>
The "pgmtype=webservice" causes the precompiler to build a ILE service
program, and the "export" let it be exposed as an web-service.
The rest is just a normal service program - exept for the "annotation" on
the parameter namely "input" / "OutPut" and "InOut".
Look at it as keywords which is not allowed in the normal RPG syntax.
However these "annotations" causes the SOAP envelop to be created and a
WSDL file to be produced ..
A consequence; all RPG service programs in IceBreak is actually also
webservices .. think about that . The guys down at first have made a good
job :-)
Best regards
Niels Liisberg
IceBreak Chief SW Architect
System & Metode Technologies
Håndværkersvinget 8, DK-2970 Hørsholm
Phone: +45 70 20 36 10
Fax: +45 70 20 30 11
Direct: +45 45 177 055
Mobile: +45 31 158 861
E-mail: nli@xxxxxxxxxxxxxxxxx
Web: www.system-method.com and www.Icebreak.org
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Mike Cunningham
Sent: 6. februar 2009 14:30
To: 'Web Enabling the AS400 / iSeries'
Subject: [WEB400] Creating an RPG web service without WDSC/RDi
Is there a way to turn an RPG stored procedure into a web service without
using WDSC/RDi? Maybe by using an existing web service that calls RPG as a
base and cut/paste/rename/edit the files in the IFS manually? Someway that
does not have the added overheard of needing to learn WDSC/RDi just to do
that final step after the rpg app has been created and tested
--
This is the Web Enabling the AS400 / 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.
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.233 / Virus Database: 270.10.18/1935 - Release Date: 02/04/09
16:35:00
--
This is the Web Enabling the AS400 / 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.
--
This is the Web Enabling the AS400 / 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.