Protocols
When you create an ASP.NET Web service, it automatically supports clients using the SOAP, HTTP GET, and HTTP POST protocols to invoke Web service methods. In HTTP GET the data is sent in a query string (name/value pairs) that is appended to the URL. In HTTP POST the data is not appended to the query string as in HTTP GET, but instead name/value pairs are written to a separate line sent with the HTTP header, and the data is not directly visible to the outside world.
The datatypes supported by HTTP GET and HTTP POST are string (Int16, Int32, Int64, Boolean, Single, Double, Decimal, DateTime, etc.), enumerations, and simple arrays. You cannot use HTTP GET and HTTP POST to represent some complex datatypes. However, SOAP supports a richer ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access