• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is this a Web Service?  RSS feed

 
Sourabh Bawage
Ranch Hand
Posts: 33
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I work in a small company...here i see people call an Action a webservice when it returns a JSON....no WSDL nothing....
I just wanted to confirm if this is NOT a web service...
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's your definition of a WS? In other words, why do you think this may or may not be implementing a WS? A WSDL is certainly not a requirement for a WS (and would only apply to SOAP WSes anyway).
 
James Boswell
Bartender
Posts: 1051
5
Chrome Eclipse IDE Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like a RESTful web service that returns JSON.

http://www.oracle.com/technetwork/articles/javase/index-137171.html

To answer your question, yes, it is a web service, a RESTful web service as opposed to a SOAP web service.
 
Sourabh Bawage
Ranch Hand
Posts: 33
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I definitely dont know much about web services.......i just wanted to know how is this a RESTful, as it doesnt even use the JAX-RS api.....??
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would a RESTful service need to use JAX-RS?

 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
REST is an architectural concept, of which the JAX-RS API is just one example. You don't need any particular API or implementation to be RESTful if you adhere to the REST principles.
 
Sourabh Bawage
Ranch Hand
Posts: 33
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:REST is an architectural concept, of which the JAX-RS API is just one example. You don't need any particular API or implementation to be RESTful if you adhere to the REST principles.


Oh thanks...I need to read a bit more about the REST principles.....a link with basics would be helpful...
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Web services FAQ here at the ranch is loaded with helpful references.

The Wikipedia article is a good place to start also.

Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!