It didn't find a method
[nobr]hi,
I created a object instance and I tried to access to class method then I receive the following error:
AccessServlet.java:700: Can't find method `getDemoInfo(Ljava/lang/String;)' in type `com.cds.util.as400.CallGEN0186'.
and the CallGEN0186 has this method.
my code
CallGEN0186 callgen0186 =new CallGEN0186();
try
{
servletOut.println("</B></CENTER><BR>");
//Pedro
String s2 = CallGEN0186.getDemoInfo(httpservletrequest.getParameter("accntnbr"));
query.setGENDemographicInfo(s2);
}
catch(AccountQueryException accountqueryexception1)
{
thrownew AccountQueryException(accountqueryexception1.getMessage());
}
the CallGEN0186 class method
publicstaticsynchronized String getDemoInfo(String accnum)
throws AccountQueryException
{
boolean pgmCheck =false;
ProgramCall pgm =new ProgramCall(a);
ProgramParameter parms[] =new ProgramParameter[14];
String pgmName;
String demorecord ="";
String demofields ="";
....
...
...
...
Could you help me, please?[/nobr]

