title: Step by step procedure to create webservice in spring
body: <p>I am new to spring web service. I am creating one project in which I have to move the Login service alone to seperate project and invoke the login service from different project. Please provide me suggestion how to implement this.</p>
  
  <p>I am using spring security and created login service. </p>
  
  <p>Please provide me detailed step to make login service as seperate webservice and how to call login service from another service. </p>
  
  <p>Thanks</p>