KB Article #160867

[EXE - 16101]: Invalid output type for the custom method com.axway.xxx

Problem


--  error when executing a java custom function 

EXE - 16101]: Invalid output type for the custom method
com.axway.CF.Check_Montant_Det.getMontant.

 

-- output CF Real type has been declared as a REAL (in Composer or in Mapping Services)

 

Resolution

 

* java function return code has probably been declared as a float. That is wrong : when the DML function output is a REAL  the method return should be a java.lang.Double