Question
prashanth ponugoti · Jan 24

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?

 

Product version: Caché 2017.1
2
0 46
Discussion (1)1
Log in or sign up to continue

After a research , I have found the issue

<assign value='source.Message.ReportType.contentproperty='target.Document.Description' action='set' />

content is missing in my DTL previously.