Question

5
Replies
2807
Views
DAMOREJ1 Member since 2007 10 posts
Rulesware LLC
Posted: 4 years ago
Last activity: 4 years 3 months ago
Closed
Solved

Data Transformsformation with JSON

Hello,

  I would like to describe two REST service scenarios , and then ask a question.

Scenario 1)

  1. We invoke a REST service that returns XML .
  2. In order to map the data into the application class structure, an XML Parse rule is used.
  3. The parse xml rule maps the incoming data into the application class structure.
  4. Done.

Scenario 2)

  1. We invoke a REST service that returns JSON. PRPC automatically parses the JSON and populates a page in the clipboard.
  2. In order to map the data into the application class structure, a data transform rule is used.
  3. To use the data transform , we need to create classes within PRPC that exactly mirror the structure of the incoming data, otherwise the transform will not save.
  4. The data transform rule maps the incoming data into the application class structure.
  5. Done

QUESTION :

Why is step 3 of scenario 2 needed? That step is not an insignificant amount of work.

Message was edited by: Vidyaranjan Av | Included Category

Data Integration
Moderation Team has archived post
Share this page LinkedIn