Service-location details for web service access

You can place the service-location details of a web service in the EGL deployment descriptor and then specify the Resource annotation when you declare a service-access variable.

The Resource annotation refers to an entry in the EGL deployment description, specifically, to an entry in the resource bindings section of the EGL deployment descriptor.

The entry in the service bindings section behaves differently depending on the type of service that you access:
When you access a third-party REST service, you must distinguish between the following types of information:

You can access a third-party REST service by specifying all the details in either the URI or a URI template.