1,780 pts.
 Caloin Webservice From RPGLE
I need to call a webservice from RPGLE.. I know all the examples out there. Anyone actually do it yet? If so did you have any problems with getting out from the 400?  Code examples would be good or a quick reference on what steps were done would be awesome.  Thanks

 



Software/Hardware used:
rpg
ASKED: March 18, 2010  7:57 PM
UPDATED: July 16, 2010  4:27 PM

Answer Wiki:
I've done this several times. I use WSDL2RPG from www.tools400.de, which in turn uses Scott Klement's HTTPAPI. What you get is a command that accepts a link to a WSDL as input, and generates RPGLE code that contains the stub to call the web service. You write the code the calls the stub (you can generate most of that as well). It's really pretty simple.
Last Wiki Answer Submitted:  March 18, 2010  9:48 pm  by  Littlepd   1,130 pts.
All Answer Wiki Contributors:  Littlepd   1,130 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Hello,

I am new to the whole WSDL2RPG process, but I did manage the first step, that is I managed to generate the RPGLE code that calls the WEB service. I am completely baffled by the next step – that is writing the code that calls the stub. I’d appreciate any help/comments. How do I proceed from there?

 10 pts.