DATA-INTO Plus DATA-GEN for Web Services
Combining these two RPG operations with the YAJL library simplifies using web services from RPG
It seems that barely a month can go by without us receiving a request from a client concerning web services. They’ve been tasked with using or providing web services, and are asking for advice on how to generate and consume JSON. Some years ago, such requests would have involved XML, but these days JSON with its leaner profile has almost completely taken over. In fact, our most recent request involved a SOAP web service which used JSON for both requests and responses. This was a little unusual in that SOAP is an XML based protocol!