InvalidDataException

Any issue about Cyclos 4 scripting and Webservices

Moderators: hugo, alexandre, rmvanarkel

Post Reply
gustavo_san
Posts: 20
Joined: Fri Feb 21, 2014 4:44 pm

InvalidDataException

Post by gustavo_san »

Hi guys,

I'm trying to run this little piece of code via webservices...

public class UserTest {
public static void main(String[] args) {
UserService service = Cyclos.getServiceFactory().getProxy(UserService.class);
UserLocatorVO locatorVO = new UserLocatorVO();
locatorVO.setUsername("ednaldo");
UserDetailedVO detailedVO = service.locate(locatorVO);
System.out.println(detailedVO.getName());
}
}

But i'm getting an Exception in thread "main" org.cyclos.model.access.InvalidSessionDataException

I've followed the documentation, but i can't make it work. Any thoughs?

I'm using cyclos 4.4

Thanks
Post Reply