Tag Archives for " #webservice "

IBM i Webservices – REST vs. SOAP

SOAP is a protocol – REST is an architectural style (a design for network-based software architectures) REST concepts are referred to as resources. A representation of a resource must be stateless. It is represented via some media type. Some examples of media types include XML, JSON, and RDF. Resources are manipulated by components. Components request […]

 
Continue reading

How to Debug HTTPAPI RPG Programs – dsplnk ‘/tmp/httpapi_debug.txt’

If you are using the IBM i HTTPAPI (LIBHTTP) opensource utilities, you already realize how easy it is to talk to an internet webservice from within your IBM i RPG programs. But sometimes even the best laid plans go wrong and thats when you need to learn how about the “debug HTTPAPI webservices” function. Assuming […]

 
Continue reading

RPG example: store webservice reply XML or JSON in IFS

As an RPG Programmer you are probably writing a ton of code to talk to remote webservices out there in internet land. If you are just leaning webservice programming – here is a simple RPG CODE EXAMPLE which talks to a remote webservice (using the open source HTTP API) and stores the reply from the webserice […]

 
Continue reading

What does a WizDul do for a Web-Service?

I found this old word document that had a neat overview of WSDL (Web Services Description Language) and how it used as part of a web-service. Useful memory jogger: WSDL (pronounced “wiz’-dul”) …is an XML-based interface definition language that is used for describing the functionality offered by a web service. WSDL stands for Web Services […]

 
Continue reading

IBM i Webservices Primer – SOAP or REST?

AS400 or iSeries webservices – Primer If you are reading this it’s probably because you are researching webservices, perhaps looking for an IBM i Webservices Primer and googled something like “what is the difference between SOAP and REST on IBM i webservices – please help me I am going insane“? http://bfy.tw/9ON0 Dont worry – help is […]

 
Continue reading

RPGLE Webservices – RPGLE Converting Character to Numeric

I’m in the final stages of a fun project writing web-services to interface INFOR System21 (on an IBM i aka AS400) with ACSIS Visitrack (on Windows Server), we are consuming (receiving) and serving (sending) all data in a standard alphameric layout But… as any RPG programmer will know… the conversion between alpha to numeric is […]

 
Continue reading