source and target in DTL are persistent classes for given xsds , test result reference instead of value
Hi Community,
I have created persistent classes for source, target XSDs and completed DTL. When I tested in DTL window by passing source xml it is generating below target xml as result.
DTL result:
<root>
<CaptureSource>2</CaptureSource>
<Document>
<Description>1235@TEST.COM.Message.ReportType</Description>
<EventDate>1489@TEST.COM.Message.EventDateZ</EventDate>
<ExternalSystemId>1213@TEST.COM.Message.ReportID</ExternalSystemId>
<FileContent>1142@TEST.COM.Message.TextBlock</FileContent>
</Document>
</root>
Here I am expecting value of source xml , but it is showing reference 1235@TEST.COM.Message.ReportType
Could you please correct me if i am doing any thing wrong?
After a research , I have found the issue
<assign value='source.Message.ReportType.content' property='target.Document.Description' action='set' />
content is missing in my DTL previously.