These two things do have many similarities.
1. Both are implemented using XML technology,
2. Both use the HTTP protocol.
3. Both implement data exchange between different development languages on different platforms
But there are many differences between the two.
1. WebServices is a server technology, mainly used in the background for variousProgramProviding services using the original soap (Simple Object Access Protocol) mainly solves the problem of providing an ideal business data security exchange between organizations or institutions.
2. ajax is the Client technology, which is widely used in XMLHTTP. It mainly solves the problem that the browser is currently passive, so that the client can actively obtain information from the server, it becomes a rich client program, which reduces program work on the server and server load, and makes the client more flexible and powerful. it has greater superiority than WebServices, because we can provide data services similar to WebServices without modifying our server website programs,
Supplement:
1. The web service is not restricted by the browser of the client, but it is necessary to write Ajax.
2. Ajax is a way of writing, while Web Service is a standard. That is to say, Ajax requires the matching of related background pages, and Web Service exists independently, called by another actor.
3. Web Service is an architecture with good scalability and distribution. Ajax is a blank field in architecture.