Jolt 1.2 Readme
service input value is set, before the service call is made. Sample
code is:
 service1=new JoltServiceBean();
 service1.setServiceName("SERVICEX");
 for (int i=0;i< 10;i++) {
 service1.setInputTextValue("FIELD",i,"10");
 }
 int occur1=service1.getOccurrenceCount("FIELD");
 service1.callService();
 /* service modified "FIELD" and return the same number
 * of occurrences */
 int occur2=service1.getOccurrenceCount("FIELD");
The expected value of occur1 is 10, the actual value is 0. The value
of occur2 is 10, as expected.
file:///C|/Jolt12/ReadmeJolt12.txt
file:///C|/Jolt12/ReadmeJolt12.txt (8 of 8) [4/27/2004 10:35:04 AM]








