Extended Functions → Using Custom Endpoints → About Custom Endpoints
Endpoints designed in SBM Composer are "process app endpoints", which define a place in the design that a Web service is called. This contrasts with "environment endpoints", which represent the actual server locations and authentication information used for calling the service when the process app is used in an environment. Although process app endpoints do include server paths and authentication information, these values are only used as default values for environments where the corresponding environment endpoint does not exist. For more information about endpoints, refer to About Endpoints .
There are two types of process app endpoints, automatic and custom.
Custom endpoints can be used in the following ways:
By using a custom endpoint to configure a REST Grid, you can control which endpoints are created and how they are reused between REST Grids on different forms and you can better name them to describe their purpose.
Each application and orchestration has its own Custom Endpoint Library in the Application Explorer. If you want to share a custom endpoint across applications and/or orchestrations, create them with the same name, default URL and authentication properties in each of the Custom Endpoint Libraries. If the name matches and other properties do not, a validation error will occur.
Some examples of how these custom endpoints can be used in SBM Composer are given in the following topics:
After defining a custom endpoint, you can use it in the REST Grid widget configuration dialog by selecting it from the drop down list box. If you have already specified an URL for the REST Service, you can convert this into a Custom Endpoint by choosing the <Convert to Endpoint...> entry in the drop-down list box. If the URL matches an existing custom endpoint, you can select it from the drop-down list box and it will be converted to use it, preserving all trailing path and parameter information.
For an example of using custom endpoints in the string builder tool, refer to Using the String Builder Tool.
For information on using custom endpoints in REST Grid widgets, refer to Using the REST Grid Widget.
For information on RESTServiceWrapper and SecureRESTServiceWrapper, refer to Querying REST Service Results.
In orchestrations, custom endpoints are used for mapping to the inputs of SOAP-based service steps (not for the SOAP service itself). They are important when the SOAP service implementation calls another Web service that needs to use different endpoint information in different environments. RESTCaller is one such service that calls a REST service specified by its restUrl argument with authentication also specified in its inputs. You can create a custom endpoint for the called REST service in the Custom Endpoint Library for the orchestration, and then map its URL and authentication properties into the RESTCaller service inputs. At runtime, the endpoint values specified for the current environment will be passed to the RESTCaller service step.
For more information, see Calling RESTful Web Services from an Orchestration Workflow.
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.