Which of the following Protocols can be used to call a Web Services in Asp.net?
-
Http-Post
-
Http-Get
-
SOAP
-
All the above
D
Correct answer
Explanation
ASP.NET Web Services support multiple protocols for communication. HTTP-GET and HTTP-POST are simpler protocols for basic method invocations, while SOAP provides a robust, standards-based protocol with envelope formatting and WS-* extensions. The service can be configured to expose endpoints via any or all of these protocols simultaneously.