A web service is all three: a standard way of integrating web-based applications using XML-based protocols (A), a key component of Service Oriented Architecture (B), and a programmable service accessible over the web (C). These definitions capture the technical, architectural, and functional aspects of web services.