Hi all,

In 1.0.2, the WSDL generator now ignores datatypes that are collections. This 
was easy enough to fix with my wrapper SOAP interface. However, the complex 
datatypes that I return from my functions are entity beans, which themselves 
have member collections. I cannot replace these collections with arrays, since 
the EJB3 Persistence system needs collections to determine relationship 
mappings. And I can't create overridden getter methods in the entities that 
return arrays.

So, what am I supposed to do? On one hand, I must use collections in the 
entities for the persistence framework. Yet on the other hand, I can't for the 
SOAP framework. Am I supposed to create new wrapper entity datatypes for SOAP, 
which only use arrays? What about Map-type collections, where a flat array 
wouldn't really work?

Ideas are appreciated.

--Scott


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961750#3961750

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961750
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to