Originally posted by c0nfitty
View Post
Originally posted by c0nfitty
View Post
Yes, you can consume them from the same machine or a different machine (just as with SOAP).
Years ago the most common scenario was that you had different applications running on different machines (doesn't matter if they are servers or desktops for this discussion) and you'd use web services as a way to integrate them. So you'd have multiple computers on the same corporate network calling each other via services, but you wouldn't expose them to the internet. In those days, the only reason you'd open it up to the Internet is for remote users (for example, via mobile apps) to access your data, or perhaps to allow integration with your vendors/customers. Today opening services up to the Internet is much more common because so many companies are putting applications in the cloud. For example, if you have a local inventory system on your IBM i, but the application that is used to re-order inventory is running out on the cloud, you might need the two to be able to call each other, and so you'd use web services. In the old days, that might be SOAP, today its more likely to be REST... but whether its REST or SOAP, the terms "consume" or "provide" are the same.
Leave a comment: