I goggled but I cannot determined what are the difference between endpoint and gateway. Based on their definition, they seems alike.
What is Web Service Gateway? Web Service Gateway is a server-side application that opens a communication channel between Bentley’s Apps for mobile devices and Bentley’s project information management systems.
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.