0
I’m having trouble generating a webservice. I have my Lib with the model classes: Address, City and Customer. I also have a Lib with the DAO classes to control access to data for the model classes: Address, Clientedao, City.
In the Endereco.java class, I have two private attributes that are:
private Cidade cidade;
private Cliente cliente;
The problem is that when generating a Webservice that I use as a control between back and front end, the code generated for the Addressee class has the following aspect:
private lib.modelo.Cliente cliente;
private int cidade;
I can’t understand or find the "x" for this problem. I have tried to redo the classes, change the code generated by the webservice by hand without success.
Thank you!