Doubt on theoretical part of web services

4

Hello everyone. I'm studying the web services part and I'm a bit confused with the theoretical part. I was reading the article on this site

link

And I was confused by the definition of "intermediate web service". I'm developing a simple Android application, like an exercise, which performs user registration and login.

In this program, I created the web service by Eclipse and an Android application to consume the web service. In this case, my web service and Android application simply are provider and service requester, respectively?

Would anyone know of an example that has an intermediate web service?

And what would be the purpose of an intermediate webservice? because, thinking in a simple way, the message could not go straight to the destination instead of going through another web service?

And in the case of my project that only has a web service and an Android application, can the Android app be considered an "initial sender"? In case, is the Android app considered a web service too?

I hope for answers and thank you all for posting some response.

    
asked by anonymous 02.10.2016 / 10:35

1 answer

4
  

In this program, I created the web service through Eclipse and an application   Android to consume the web service. In this case, my web service is   Android application simply are provider and service requester,   respectively?

If I understood the structure, yes. There is no middleman here.

  

Would anyone know of any example that has a web service   intermediary?

An intermediary would be a third (outsourced) service known in English as "third party".

Let's take a real-world example for better understanding

A Web Service for sending SMS. When you use a third-party SMS sending service, you are using an intermediary. Because your app requests that a third party send the message to the final destination. There is no direct communication between source and destination.

With middleman

[origem] <-> [webservice terceiro] <-> [destino]

No intermediary

[origem] <-> [destino]

Another example of an intermediary is payment gateways. Gateways form the intermediary between the requestor and the final destination of the financial institutions.

    
02.10.2016 / 14:39