[esb-users] Java2XML Smooks transformation example

Neha Pandey Neha.Pandey at lntinfotech.com
Tue Nov 18 22:08:32 EST 2008


Hi,
Use the following  snippet for smooks configuration.
<?xml version="1.0"?>
<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">

    <resource-config selector="global-parameters">
        <param name="stream.filter.type">SAX</param>
    </resource-config>

</smooks-resource-list>

Or you can use JBoss ESB out of Box action for doing the same.

<action name="transform" 
class="org.jboss.soa.esb.actions.converters.ObjectToXStream">

This would beta your requirement.


Thanks & Regards,
Neha 





"Ashok Sharma" <asharma at talentbeat.com> 
Sent by: esb-users-bounces at lists.jboss.org
11/19/2008 08:27 AM

To
<esb-users at lists.jboss.org>
cc

Subject
[esb-users] Java2XML Smooks transformation example






Hi All,
Could anyone provide me a sample smooks transformation example to convert 
java to xml.
I am unable to create mapping file. Please help.
 
Thanks in advance.
 
Regards,
Ashok Sharma
Sr.System Analyst,
www.talentbeat.com
Mbl: (+91) - 9766925551
 

______________________________________________________________________
_______________________________________________
esb-users mailing list
esb-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/esb-users



______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/esb-users/attachments/20081119/db266505/attachment.html 


More information about the esb-users mailing list