Any ideas?






Mauriff wrote:
> 
> 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!
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Invoke-a-Webservice.-tp19616854s2369p19629697.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to