smooks

XML to XML transformation with wso2

人走茶凉 提交于 2019-12-02 13:48:48
问题 I am using wso2 esb 4.8.1. I am trying to do xml to xml transformation with the help of smooks mediator but I am getting following exception when is hit request from the try it from application deployment console of wso2, [2014-11-07 09:39:20,401] ERROR - SmooksMediator Failed to filter source. org.milyn.SmooksException: Failed to filter source. at org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:86) at org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java

Freemarker - Include Multiple templates inside config file

喜你入骨 提交于 2019-12-02 10:52:45
How can i include more than one template in Freemarker configuration file using Smooks? <smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.1.xsd" xmlns:ftl="http://www.milyn.org/xsd/smooks/freemarker-1.1.xsd"> <params> <param name="stream.filter.type">SAX</param> <param name="default.serialization.on">false</param> </params> <ftl:freemarker applyOnElement="Response"> <ftl:template>template1.ftl</ftl:template> <ftl:template>template2.ftl</ftl:template> </ftl:freemarker> This doesnt seem to work. Throws an error at the second template line If you look at example you will see that

XML to XML transformation with wso2

£可爱£侵袭症+ 提交于 2019-12-02 06:25:01
I am using wso2 esb 4.8.1. I am trying to do xml to xml transformation with the help of smooks mediator but I am getting following exception when is hit request from the try it from application deployment console of wso2, [2014-11-07 09:39:20,401] ERROR - SmooksMediator Failed to filter source. org.milyn.SmooksException: Failed to filter source. at org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:86) at org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:61) at org.milyn.Smooks._filter(Smooks.java:516) at org.milyn.Smooks.filterSource(Smooks.java:475) at