wood burning stoves 2.0*
The moose likes Web Services and the fly likes Webserice fundamentals: Endpoints. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Webserice fundamentals: Endpoints." Watch "Webserice fundamentals: Endpoints." New topic
Author

Webserice fundamentals: Endpoints.

milan doshi
Ranch Hand

Joined: Nov 03, 2000
Posts: 43
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

Joined: Apr 15, 2005
Posts: 33
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Webserice fundamentals: Endpoints.
 
Similar Threads
Why EJB endpoint is neccessary?
problem invoking webservice when 'localhost' in endpoint replaced by machinenm/ipaddr
Mock Exam question regarding End points
Can a Web Service know where itself is deployed??
JAXB with JAX-RPC1.1+ EJB