Originally posted by: SystemAdmin
Hi All,
I am trying to use the jexit function in wtx 8.2.0.1 and not having any success. Has anyone been able to use jexit successfully.
I am using the sample class file that is supplied.
java class sample:
package com.ibm.websphere.dtx.test;
public class TestJExit {
/* Person person = new Person(); */
public TestJExit() {
}
public String toUpper(String test) {
return test.toUpperCase();
}
public String Concat(String test1, String test2) {
return test1 + test2;
}
public Integer toNumber(String test1) {
return new Integer(test1);
}
public Double toDouble(String test1) {
return new Double(test1);
}
public void toNothing() {
}
public int returnint() {
return 9;
}
public byte returnbyte() {
return 8;
}
/* public Person getPerson() {
return person;
} */
}
I have also added the java class directory to my system CLASSPATH.
my wtx rule is JEXIT ("com.ibm.websphere.dtx.test.TestJExit " , "toUpper" , "Websphere")
I am running on win xp, java version 1.6.0_05
Any help is appreciated.
Tom
#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender#DataExchange