Encountering issue Cannot create definition set while clicking Design By Example under REST Data Source

book

Article ID: KB0080327

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization 7.0.6, 7.0.7, 7.0.8, ALL,

Description

I was trying to to click the Design by Example in REST Data source is getting below error

 

Error: “Cannot create definition set, please check whether the example is well-formed.<Wrapper><WrapperItem><name>Sg300-28Pp-K9-Eu</name><product_code>HP2530-24G-PoE+, “

Resolution

The size of the xml query is more than 10000(default value in studio is 10000) that was the reason of the issue.

Fix/Solution:

1) Increase the max. XML fetch size for studio configuration,
2) The configuration path is: Studio->Data->XML Text Size = 10000000. Please refer the below screenshot for your reference.

User-added image

Issue/Introduction

Encountering issue Cannot create definition set while clicking Design By Example under REST Data Source