Hello, i've managed to use xfire using castor binding. But i've stuck into a
problem.

Castor generated java files, declare an isValid method without setter
method. This result in an exception

Nested exception is org.codehaus.xfire.fault.XFireFault: No write method for
property {http://castor.xfiretest}valid in class xfiretest.castor.User
org.codehaus.xfire.fault.XFireFault: No write method for property {
http://castor.xfiretest}valid in class xfiretest.castor.User


i've managed to hack it by creating a setter method for valid property
manually for each class. I was wondering how can i do this automatically
each time i generate my class from castor ?
And another thing, why does xfire need a setter/getter method for each
property ?

Thanks in Advance
- abangkis -

Reply via email to