• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 371
  • Last Modified:

Ilegal start of Expression

Hi, i Get the error when trying to asigns the return value of a method to a variable:
The error is when trying to asign the value to sAtributos, setAtributos is a webmethod too in the same class.

This is the partial code, if a remove that line, all work very well.


Could you help me? thanx in advance.

@WebMethod(operationName = "setOperacion")
    public String setOperacion(@WebParam(name = "Operacion")
    String Operacion, @WebParam(name = "Folio")
    String Folio) throws DocumentException, IOException, GeneralSecurityException {

        String sCadenaOriginal = "";
        String sSelloDigital = "HLA";
        String sAtributos="";
        //Esta funcion recibe los parametros para mandar llamar el stored procedure y generar los archivos xml y pdf

         sAtributos = setAtributos("","","1", ,"",12345,2010,"CONTADO","1234567890","","PAGO EN UNA SOLA EXHIBICION",100,0,"",100,"","ingreso");


        /*
         * Se manda llamar el la funcion que genera el sello digital basado en la cadena original
         */

        sSelloDigital = GeneraSelloDigital.getSelloDigital("file.key", "a0123456789", sCadenaOriginal);

       
        /* Aqui se manda llamar la función para la creacion del PDF
       */
        GeneraDocumento gd = new GeneraDocumento();
        gd.generaPdf("Hola.pdf");
       

        return sSelloDigital;


    }
0
mario_moran
Asked:
mario_moran
1 Solution
 
scorneoCommented:
The problem may be due to left argument value

Assign the value of argument type.

This is an example in case argument is string
sAtributos = setAtributos("","","1", "" ,"",12345,2010,"CONTADO","1234567890","","PAGO EN UNA SOLA EXHIBICION",100,0,"",100,"","ingreso");

Open in new window

0
 
mario_moranAuthor Commented:
Was in fact a missing argument, thanx!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now