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

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -