Hello everyone, has anybody encountered this problem or a similar problem before?
I'm trying to update the xdoclet version in use in a J2EE application project from very ancient to most current, and I'm gettin headaches from the getReadOnlyXXXValue() method generated for entity bean value objects. The application was not written by me, and I do not understand all the hows and whys yet, but what seems to happen is this: Axis (used in this project to implement web services, Axis version is 1.3) tries to serialize a value object and collects all property values of the object. getReadOnlyXXXValue() is recognized as property getter (because of the getXYZ() naming convention, I assume), and Axis tries to serialize the property value, i.e. the read-only subobject. But Axis does not know how to serialize it, and fails. I'm not really sure that this is not a bug in our code or in Axis, but to me it looks like an unfortunate design on the side of xdoclet (making the read only object look like a property). Changing the method name prefix from "getReadOnly" to "readOnly" in valueobject.xdt (consistent with "underlying()" in the read-only object) makes things work for me. Any comments or other solutions? Thanks, Johannes Stille PS: I'm no subscriber of this list, but I'm going to read it via the web interface and to check for answers for the next few weeks. -- usd.de ag it security johannes stille www.usd.de
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user