1 Reply Latest reply on Jan 3, 2010 11:39 PM by Daniel Bevenius

    JAVA to XML using Smooks

    Shankar Ram Newbie

      Hi,

       

        I have been able to successfully implement a XML to Java transformation using Smooks. But I am not able to figure out how to do the reverse.

       

        My problem is as below -

       

         My front end app sends an XML request to the ESB. XML2POJO conversion happens initially in the first action in my action pipeline. In my second action, I use the POJO to make a remote server call which returns a POJO response.

       

         I need to transform the POJO response received in the second action call into an response XML to be sent back to the front end app.

       

         How do I use smooks for this ? I understand that the templating capability must be used but I am not able to find an adequete example.

       

         Please help !!

       

      Regards,

      Shankar R