Summary
INT010B - JSON Service - Create Agent-side Business Logic
Important Observations
-
Knowledge of web services standards and protocols is not required to create this JSON Agent.
-
LANSA's RDML or RDMLX code or an RPG program may be used to create the business logic used by this JSON Agent.
Tips & Techniques
-
This example used fragments for a simple list because no simple field values were being returned. When field values are returned as well as a simple list, the recurring entries can be defined as a list and the results are mapped into a working list or data structure.
-
The supplied code turns on tracing at the service level. You should turn this off for deployment to a production system.
What I Should Know
-
The essential steps necessary to use LANSA Integrator Studio to implement a JSON Agent solution – that is, a solution that calls or consumes a web service.
-
That LANSA Integrator generates components that handle the complexities of web services standards and protocols.
-
How to create a Visual LANSA application program that uses a JSON Agent solution to call the web service.