This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a problem regarding the CXF data binding. I have a webservice deployed in JBOSS 4.2.3 using CXF. This webservice contains a series of methods that all use the same request and the same response classes, i have a generic example below:
The problem i have is that sometimes both the requestParameters and the responseMap contain other Collections(HashMap or ArrayList) that can in turn contain some other collections and so on. From what i observed JAXB only maps the initial Map, the one declared in the class, any collection contained within is not parsed, just returned as a XsElement. Is there any way to "convince" JAXB to parse all the way down the tree, sort of speak? Can i maybe customise the WSDL for each method, bearing in mind that it will be generated automatically? Is there another CXF data bind that would help me more, such as Aegis?
Any suggestions would be appreciated. [ November 07, 2008: Message edited by: Dobrovolschi Andrei ]