Mention what is the difference between a web service and SOA?
SOA is a software design principle and an architectural pattern for implementing loosely coupled, reusable and coarse grained services. Using any protocols such as HTTP, HTTPS, JMS, SMTP, etc. you can implement SOA. The message can be in Data Transfer Objects or in XML.
While web service is an implementation technology and one of the ways to implement SOA.