Satish Srinivasan wrote:
mmm - we are doing something very similar in our application (the nasty conversion between Hibernate POJO and SOAP-transportable DTO). It gets even more interesting (i.e., uglier) when these one-to-many collection mappings contain too many entities to be sensibly transported over SOAP !
Satish
We use hibernate and SOAP heavily and our needs are pretty identical to your s and we found using java data binding framework is the best option to serialize collections and such like. Go have a play with this:
http://www.castor.org. I am sure you will find it very useful.