I have written four java services under one folder “ListOfFiles” and i have written the following code in “Shared” tab:
static String[] aListOfFiles;
static int aCurrent = 0;
I want to user this variables in my all four services, is it mandatory to declase these variable as “static”. or i can do otherwise. I mean to say i can declare them as non static i.e.
String[] aListOfFiles;
int aCurrent = 0;
then how can i use these java variables in my all four services.
When I save my services, I get the following error:
C:\wM6\IntegrationServer\packages\Default\code\source\EDI852\services\ListOfFiles.java:1:
package EDI852.services clashes with class of same name
package EDI852.services;
^
Can someone help me ???
Regards,
Nilesh
webMethods Consultant