Apr 06

 Invoking Queries/Procedures from Java Services

As mentioned in previous documents, there will be a service method generated for each query and procedure. See here for query service methods and procedure service methods. We can use these methods to invoke those in java services.

Autowiring of Services
You can inject query and procedure services using spring dependency injection.

Example:

Invocation of Services
As specified each query and procedure have a method in the service layer. You can call these methods to execute the query or procedure.

Securing Query/Procedure APIs

There are two ways to configure API visibility:

Security
You can configure API permissions from Security dialog. Here you can configure which user can access a particular API depending on User Roles.


API Designer
From API Designer you can configure API visibility by changing Visibility options.

5. Creating Backend Services

 
We use cookies to provide you with a better experience. By using our website you agree to the use of cookies as described in our Privacy Policy.