0

I work with RAD 9.1 and java 1.6.

I have the following instruction

((MensajeIndemnizacion)value).setStatus(com.ibm.ws.webservices.engine.encoding.ser.SimpleDeserializer.parseint(strValue))

When I build the project, I get the error:

Method parseint(String) is not defined for type SimpleDeserializer

com.ibm.ws.webservices.engine.encoding.ser.SimpleDeserializer doesn't have the method parseint.

How do can I fix this error?

EDITED

Screen RAD

enter image description here

EDITED

enter image description here

Carlota
  • 1,239
  • 3
  • 29
  • 59

1 Answers1

0

You can use Integer.parseInt(String) to convert a String to an Integer.

Nabin Bhandari
  • 15,949
  • 6
  • 45
  • 59