Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Difference between webservice and service operation  RSS feed

 
Kavitha Rangdale
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am new to web services and soa. In one of the interviews I was asked the difference between webservice and service operation. Please help me in getting correct understanding.
 
Raghavan Muthu
Ranch Hand
Posts: 3389
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kavitha,

Welcome to the Ranch

It would be great if you have shared your thoughts on the same!!

As per my understanding, service is a functionality and when it is exposed over Web (via SOAP Protocol) it is called as a Web Service - where it is eligible to be accessed in a platform neutral fashion. You can better read about Web Service here -> http://en.wikipedia.org/wiki/Web_service
 
Kavitha Rangdale
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Raghavan Muthu wrote:Hi Kavitha,

Welcome to the Ranch

It would be great if you have shared your thoughts on the same!!

As per my understanding, service is a functionality and when it is exposed over Web (via SOAP Protocol) it is called as a Web Service - where it is eligible to be accessed in a platform neutral fashion. You can better read about Web Service here -> http://en.wikipedia.org/wiki/Web_service



How you define an operation? what is the difference between an operation and a service?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My response would be that "service" is the method in the servlet API that gets first look at incoming requests and handles dispatch of the request and response objects to the correct HTTP method. All web service calls go through the service method.

Bill
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!