Question

5
Replies
2883
Views
Close popover
Joseph D'amore (DAMOREJ1)
Rulesware LLC
LSA
Rulesware LLC
CA
DAMOREJ1 Member since 2007 10 posts
Rulesware LLC
Posted: May 19, 2016
Last activity: July 7, 2016
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,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.