• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CXF/JAXB data binding problem

 
Dobrovolschi Andrei
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic