Hi to everybody:
I have to create a Web service which accesses a database query. I'm a newbie with web services and I created my first one using Netbeans 6.8 and
tomcat 6 (with no db connection) and it worked really fine and I felt myself happy because I thought my job could be easy, so I said to my boss "I will do it soon!". Now when I attemp to deploy it accessin a DB the following error appears:
I have two packages one for the data the web servicies returns ans onother one for making the connection. To be honest I don´t understand the problem...
The web method is
The Web Service return an objeto of the class DatosAfiliado which has the following attributes:
The class DatoGrupo
What does "java.sql.Connection is an interface, and JAXB can't handle interfaces" mean? I do need to establish a connection to a DB...whe working with web services how should I do the connection?
Thanks a lot for your kindly help ... I need it ... I feel like I'm in the middle of the night ... no clues no lights.