Forums Register Login

CXF/JAXB data binding problem

+Pie Number of slices to send: Send
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 ]
He puts the "turd" in "saturday". Speaking of which, have you smelled this tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1975 times.
Similar Threads
CXF Apache: null pointer problem with my reponse
How to generate JAXB Bindings for the xml element definition which is extending from other xml
Struts2-json plugin not serializing action class to json
ArrayOfType Problem
CXF and JAXB binding for a class/property with special character in its name?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 04:28:52.