Service profiles

Service profiles can be used to call web APIs such as web services or rest services. They provide a way to create reusable web request configurations.

To create a service profile you specify an endpoint, a request method, and a response format (XML or JSON). The service profile makes a call to the service, passes the appropriate request body, gets a response, and maps it to objects.

For example, service profiles can be used to validate data against external sources that are only accessible via the web, or to update external systems that accept web requests. Service profiles are also integrated with Infor Public Sector's AutoComplete functionality, providing a mechanism for fetching AutoComplete suggestion data. (See "Using an external service" in the Infor Public Sector AutoComplete Administration Guide).

After they are defined, service profiles can be used in different ways. When using a service profile for AutoComplete, you specify the service profile name in the AutoComplete configuration. You can also use service profiles in formulas to make requests to external services.

Formulas that call external services use the Hansen.Core.Net.NetService object. You can also use this object to call an external service programatically, without using a service profile.

See Calling external services.