Receive Activity in BPEL only considering the last element in a hierarchial structure
Hello,
- Create a SOA Service with a REST adapter.
 - Created NXSD schema with a JSON Interchange Format with JSON data input as below Header => Line Data Lines => Account
 
Header
Line Data
Line 1
Account1
Account2
Line 2
Account1
Account2
- Create an inputVariable with Type as the XML element of Step 2
 - Create a Receive Activity and attached the variable created in Step 3
 - Deploy the SOA Service
 - Test the SOA Service
 - The Receive Activity on the Flow Instance only shows
 - Header => Line Data => Line 2 => Account2 and the rest of the data is missing.
 
Additional details with screenshots are attached in the document.