Hello , i'm currently exploring xfire for my current project.
I've managed to run the quick start example. And pass the phase of
creating complete object binding using aegis. But since i'm using the
xml-schema -> java approach. I Decided to switch to castor
implementation.
The problem i encounter is my castor generated file doesn't work. I
got an exception saying that a property name valid doesn't have a
setter. But my xml schema didn't have any property name valid ?
After looking the java code i found out that the castor java generated
code has this method :
public boolean isValid(
) {
try {
validate();
} catch (org.exolab.castor.xml.ValidationException vex) {
return false;
}
return true;
}
I've managed to hack this problem by creating a setValid(boolean
valid) for each class.
So my question is, is this an xfire problem ? or castor problem ? How
can i avoid creating the setValid method manually? Because its a pain
in the ass.
Why do xfire need the setter and getter method for every property? can
some one point out to a documentation about this ?
Thanks In Advance
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email