Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Webserice fundamentals: Endpoints.

 
milan doshi
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have developed few Webservices and also worked on the client side. But there are few things which I am not sure of :

We often say that "Messages goes through many endpoints on the way to their destinations..". What does this mean exactly?

Let us say my endpoint is :

http://dev.milan.com:9080/something/services/

When and how will the message go to ANOTHER endpoint?

when does the mustUnderstand attribute in the header come into play?

I have only read it theoritically but I do not understand its actual meaning. Can it be ellaborated.

Thanks in advance,
Milan Doshi
 
Peter Hu
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think "endpoints" is not a proper term. It should use intermediates instead. These intermediates act just like network routers, forwarding the message till its final destnation.

The mustUnderstand attribute demands the message receiver have to know the meaning of the element and how to respond. Otherwise, stop processing the message further, thow an exception back to the originator.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic