Quantcast
Channel: The Big IBM i Blog – Nick Litten [IBM i AS400 iSeries] Software Developer
Viewing all articles
Browse latest Browse all 503

What is a webservice and how does it work on an AS400, iSeries or IBM i Server?

$
0
0
provide a web service not consume a web service

Here is a question frequently asked in IBM i programming forums:

How do I write (an IBM-i program) RPG, to talk to the internet and receive or send parms to a website or webservice? For example, how can I receive an order number and return the order line informatoin in XML?

Sounds kind of complicated, doesnt it?

Actually, its not :)

Luckily for us, this is an area where the bods at IBM have implemented a really cool server on our beloved IBM I operating system that makes this process so simple, it's really quite astounding. All we have to do is write a program that does the business logic (for example, receive an order number parameter, read the order line details and return those parameters back). Then we can simply use the IWS* (Integrated Web Server) to share that information with the world wide web.


Viewing all articles
Browse latest Browse all 503

Trending Articles