title: RESTful vs SOAP based webservices?
body: <p>Folks I recently went thru webservices book which covered SOAP based webservices and RESTful webservices.
  I am not sure on what parameters I should select one of them as both of them looks similar(even from developer perspective). Here are my points</p>
  
  <p>In SOAP webservices we use WSDL file  generated out of webservices and then create client side stubs based on that.</p>
  
  <blockquote>
    <p>My understanding is that internally stub also will use HTTP protocol
    to communicate with remote java webservice. Right?</p>
  </blockquote>
  
  <p>Here there will be SOAP message(XML message) inside HTTP request/response body. so one more layer to drill down while in REST based webservices, HTTP request  itself behave as messages. Here we have WADL instead of WSDL. Here also we can create the stubs based on WADL. So every things looks more or less same except the some technical difference
  consumer connect to producer and how request/reponse are processed.So as per my understanding there is not much difference b/w rest based and soap based webservices from developer point of view (amount of work for developer is almost same).</p>
  
  <p>Is my understanding correct?</p>
  
  <p>Yes probably behind the scenes, probably SOAP is more complicated than REST webservices becoz in SOAP, there is messages inside message(SOAP message is embedded inside HTTP request) but in REST based services, HTTP request itself works as message.</p>