• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

REST WSDL query

 
Abhay Agarwal
Ranch Hand
Posts: 1376
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to Java web services.
I was reading difference between SOAP and REST based web service.

Can I safely assume that REST based web service do not require any WSDL (or we can not create WSDL for REST based web service) ?
and for SOAP based web service, WSDL is mandatory ?

~ abhay
 
Souvik Dasgupta
Ranch Hand
Posts: 95
Eclipse IDE Java Spring
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Abhay,

WSDL is not required for REST as it works on HTTP verbs(GET,POST,DELETE etc.). Your URI says what you want to do. However there is something called WADL which describes a REST service.
 
Abhay Agarwal
Ranch Hand
Posts: 1376
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A WSDL is a SOAP concept, but it is not required - but highly desirable for creating client code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic