Ok, so we have to do the thing by hand creating proper java classes that wrap the document, if i understand well. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028369#4028369 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028369