0

I have a requirement in which conversion of xml to text which is fixed. The DFDL Test Serialize model is padding character if length is less than specified length of field. When running flow after mapping padding character is not showing. If in xml field value is hello after padding should be helloAAAAAAAAA following is dfdl source and mapping source.

flow mapping test model output1 output2

Samuel Liew
  • 76,741
  • 107
  • 159
  • 260
  • How are you testing this? Where are you looking at the output? – Attila Repasi Nov 30 '18 at 07:55
  • And btw in your message def, you have the padding character '*', and the body_elem1 is right justified, so these will not look like your requirement for sure. – Attila Repasi Nov 30 '18 at 07:56
  • Receiving request and web service and transforming it into dfdl fixed length format and than output node connected to javacompute to perform some action kindly go through images which are attached – Junaid Ahmed Nov 30 '18 at 10:00
  • and in java compute padding character is not coming when performing operation – Junaid Ahmed Nov 30 '18 at 10:21
  • You should look at the actual output, net in the debug tools. The padding character is added when the message is serialized on output. – Attila Repasi Dec 03 '18 at 08:48

0 Answers0