转载自:https://blog.csdn.net/The_Time_Runner/article/details/88900050
What is a Server-Side Endpoint?
Web services expose one or more endpoints to which messages can be sent. A web service endpoint is an entity, processor, or resource that can be referenced and to which web services messages can be addressed. Endpoint references convey the information needed to address a web service endpoint. Clients need to know this information before they can access a service.
Typically, web services package endpoint descriptions and use a WSDL file to share these descriptions with clients. Clients use the web service endpoint description to generate code that can send SOAP messages to and receive SOAP messages from the web service endpoint.
Endpoint这个词以前经常被用来描述进程间通信。例如,
- 在客户端与服务器之间的通讯,客户端是一个Endpoint和服务器是另外一个Endpoint。
- 根据不同的情况下,一个Endpoint可能指的地址,如一个TCP通信的(主机:端口)对,也可能是指与这个地址相对应的一个软件实体。例如,如果大家使用“ www.example.com:80 ”来描述一个Endpoint。这些Endpoint可能是指实际的端口上的主机名称(即地址)
- 也可能是指与地址相关的的网页服务器(即在这个地址之上运行的软件地址) 。
- 邮寄信件时,将信件投递到邮箱,那么邮箱就是一个ep
- 寄送快递时,快递员上门取件,快递员就是一个ep
- webservice服务,一个服务地址:http://www.url.com/service1是一个ep
service是用户可以从服务器获取什么样的服务,endpoint则是服务位于哪个访问点。
一个service可以有多个endpoint。
.
.
.
2019-03-29 19:14:47写于浦东图书馆