Convert FIX Message XML
In previous tutorial you saw how to convert String to FIX message and Parse FIX message read its actual value. Everything is same from previous example only when your FIX message got build you will have to toXML method to convert it XML format. I will be writing complete program here as well because if somebody directly comes to this page without visiting previous tutorial.
Note: You could directly downlaed QuickFix jar from its web site here. To make this example work right away I have used quickfixj-all 1.6.0 version where you could convert your string message to any FIX version and for this example we are using FIX 4.2.