Difference between Model class and Class generated in a Webservice

0

I'm having trouble generating a webservice. I have my Lib with the template classes: Address, City and Client. I also have a Lib with the DAO classes to control access to the data for the template classes: ADDRESS, ADDRESS, CityDAO.

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 generated code for the Address class looks like this:

private lib.modelo.Cliente cliente;
private int cidade;

I can not understand or find the "x" of the problem for this problem. I have tried to redo classes, change the webservice-generated code to no avail.

Thank you!

    
asked by anonymous 26.04.2016 / 19:08

1 answer

0

Problem has been resolved.

What was missing was to update the classpath .jar files from my apache server.

    
28.04.2016 / 17:52