×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
On Mon, 31 Dec 2018 at 17:14, Booth Martin <booth@xxxxxxxxxxxx> wrote:
address?" I told him. In a few seconds I have an email with a map and
an orange arrow pointing to a place near me, but not me. He says thats
where it was delivered. He'd take care of it.
Frankly, I was flabbergasted. My first thought: "Damn!! How would I do
that on an AS400?"
That's why I want to know more about web services
Vocabulary is going to strike us all down with ulcers. Normally, the
specific words carry specific meaning, and heaven help you if you even
slightly misuse a technophrase. Of course, in this case, 'web service'
is a generic term that means 'a program on machine A that interacts
with a program on machine B over the internet'. This covers a Real
Lot, from raw sockets to JSON to SOAP and everything else in between.
It's absolutely not tied (on IBM i) to the web services wizard you've
been working with.
This is the RPG list, for IBM i. The most logical step is to consume
someone else's web services in RPG. Look at the USPS web API
documentation, write static code that works. Perhaps try the Rate API
https://www.usps.com/business/web-tools-apis/rate-calculator-api.htm
or perhaps the Address API
https://www.usps.com/business/web-tools-apis/address-information-api.htm
Once you have some experience with the docs and with the concepts, you
can write your own web service that will expose some Db2 data that
your example needs - address, probably. Once that's done, change the
web app to not only make the call to the USPS API, but to yours, too.
--buck
As an Amazon Associate we earn from qualifying purchases.