I am a newbie to Java and started learning webservices,my question is how one determines whether the project is written using soap or rest ?? Can we use spring framework to write webservices ?? Can anyone Provide online resources link for real world example of each (soap and rest) to improve my understanding of those each.
You can identify by checking wsdl in the project if it has wsdl it means they are using SOAP based webservices.
Where as restful webservices is just a uri mapping in yaml files .
yes you can create a restful webservices using spring framework.
Here you can find
https://spring.io/guides/tutorials/rest/
https://dzone.com/articles/restful-web-service-1
Please check the above links
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.