Script modification in Enterprise Integrator 4.6

My requirement is to integrate T1C1 column (primary key) of the table T1 in
one oracle database instance with T2C1 (primary key) column of the table T2
in other oracle database instance. Both columns are of type varchar2. Values
of the two columns are like: T1C1 := 000E462 T2C1 := E462 I have to modify
the script in order to remove the leading zeros. I wrote a separate method
in java (I tested the method in a separate test
application) and used it in the integration. I get the red cross in the
integration icon. Is there any compability issue between webmethods and java?
Please let me know if anybody has faced such problem and how the problem was
Thanks in advance.