Hi, I want invoke a webservice, I'm using the next code:
UserService userService = (UserService) new XFireProxyFactory().create(
                new ObjectServiceFactory().create(UserService.class),
                "http://localhost:8080/services/UserService";);
users = userService.getUsers(new User());

But, When I run the app, the next exception is throws:

javax.servlet.ServletException: org.codehaus.xfire.XFireRuntimeException:
Could not invoke service..
Nested exception is org.codehaus.xfire.fault.XFireFault: No write method for
property {http://model.app.company.com}accountNonExpired in class
com.company.app.model.User

How I can fix this error?

thanks!

Reply via email to