Re: [2.0.5] no write methods....

2008-04-15 Thread Benson Margulies
I've never heard of @Version. I very much doubt that Aegis sees it. What version of CXF are you using? Could you please post a self-contained test case to Jira? On Mon, Apr 14, 2008 at 10:03 PM, Mick Knutson [EMAIL PROTECTED] wrote: I am getting this error now: *INFO: Interceptor has thrown

Re: [2.0.5] no write methods....

2008-04-15 Thread Daniel Kulp
It might be due to the setVersion method being protected, not public. Thus, it might not see it as a propery as there aren't public getters and setters. Not really sure though. Dan On Tuesday 15 April 2008, Benson Margulies wrote: I've never heard of @Version. I very much doubt that Aegis

Re: [2.0.5] no write methods....

2008-04-15 Thread Benson Margulies
Hmm, I'll look at that. This rings a portion of a bell. On Tue, Apr 15, 2008 at 11:26 AM, Daniel Kulp [EMAIL PROTECTED] wrote: It might be due to the setVersion method being protected, not public. Thus, it might not see it as a propery as there aren't public getters and setters. Not really

Re: [2.0.5] no write methods....

2008-04-15 Thread Mick Knutson
I just tried that, and it works. On Tue, Apr 15, 2008 at 8:33 AM, Benson Margulies [EMAIL PROTECTED] wrote: Hmm, I'll look at that. This rings a portion of a bell. On Tue, Apr 15, 2008 at 11:26 AM, Daniel Kulp [EMAIL PROTECTED] wrote: It might be due to the setVersion method being

Re: [2.0.5] no write methods....

2008-04-15 Thread Mick Knutson
But if I have a DAO and a Domain Object in the same package, yet the Domain Object has a protected setVersion, why would there be an error? I do not want the version for be public. Only the getter. On Tue, Apr 15, 2008 at 10:00 AM, Benson Margulies [EMAIL PROTECTED] wrote: Hmm, I guess this is

Re: [2.0.5] no write methods....

2008-04-15 Thread Benson Margulies
Hmm, I guess this is working as designed. On Tue, Apr 15, 2008 at 12:58 PM, Mick Knutson [EMAIL PROTECTED] wrote: I just tried that, and it works. On Tue, Apr 15, 2008 at 8:33 AM, Benson Margulies [EMAIL PROTECTED] wrote: Hmm, I'll look at that. This rings a portion of a bell. On Tue,

Re: [2.0.5] no write methods....

2008-04-15 Thread Benson Margulies
Aegis doesn't know from DAO and Domain objects. It just knows that you want to map a class to XML. It requires a way to both retrieve and set a field. Dan, is JAXB more permissive here? If so, I guess we could change Aegis to permit Java-XML and throw on XML-Java.

Re: [2.0.5] no write methods....

2008-04-15 Thread Daniel Kulp
On Tuesday 15 April 2008, Benson Margulies wrote: Aegis doesn't know from DAO and Domain objects. It just knows that you want to map a class to XML. It requires a way to both retrieve and set a field. Dan, is JAXB more permissive here? If so, I guess we could change Aegis to permit Java-XML

[2.0.5] no write methods....

2008-04-14 Thread Mick Knutson
I am getting this error now: *INFO: Interceptor has thrown exception, unwinding now java.lang.RuntimeException: org.apache.cxf.aegis.DatabindingException: No write method for property {http://domain.baselogic.com}version in class com.baselogic.domain.Address at