Incompatible types in web service java -
i have code:
@webmethod(operationname = "operation") public boolean operation(@webparam(name = "id") int id, @webparam(name = "nombre") string nombre, @webparam(name = "apellido") string apellido, @webparam(name = "edad") int edad, @webparam(name = "ciclo") int ciclo, @webparam(name = "carrera") string carrera, @webparam(name = "especializacion") string especializacion) { webserviceapp object = new webserviceapp(); boolean estado; estado = object.getwebserviceappsoap().insertar(id, nombre, carrera, edad, ciclo, carrera, nombre); return estado; } but error incompatible types required boolean found void on line:
estado = object.getwebserviceappsoap().insertar(id, nombre, carrera, edad, ciclo, carrera, nombre); why getting error?
Comments
Post a Comment