my dog learned polymorphism
The moose likes Web Services and the fly likes service and service endpoint interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "service and service endpoint interface" Watch "service and service endpoint interface" New topic

service and service endpoint interface

thomas jacob
Ranch Hand

Joined: May 19, 2005
Posts: 91
I get confused when the terms 'Service Interface' and 'Service Endpoint Interface' used in Web services JSR documents. Can anybody please explain what is the difference between the two

Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
I'll make an attempt at an answer despite not being entirely sure:
- Service Interface
This is what clients of the service see. Something that describes the operations made available by a service and how to communicate with the service.
For a SOAP web service, this would typically be a WSDL.
- Endpoint interface.
If the web service in question is implemented in Java, then this is a Java interface specifying which web service operations are available in the endpoint implementation class.
Clients of the web service never see this interface directly.
Hope this helps!

My free books and tutorials:
I agree. Here's the link:
subject: service and service endpoint interface
It's not a secret anymore!