Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm trying to convert a value coming from a REST component which is converted to xml. The value passed into the TXMLMAP converts it to integer, but the actual field is a currency amount (dollar amount) so I need the decimal. I have tried leaving the output fields as int, bigdecimal, long, string. With each output data type, I have tried to convert the input value of "1.5" to the appropriate output data type. Everytime I get the error below. So I'm at my wits end with this. Any help would be appreciated.
Exception in component tXMLMap_1_TXMLMAP_OUT (***_***_******_Integration_040_***_Integration)
java.lang.NumberFormatException: For input string: "1.5"
Hi,
an error could be affected not only on output component but and for input as well.
You need to check in the tXMLMap what type defined:
if String used everywhere - must work