Hi,
Sorry by wirte in this forum, but I ddidn’t find Workstation forum.
I need to custom wsexec throuh “Request=RunClass” paramater-value but the program trows java.lang.NoSuchMethodException when we executed the java line command:
C:\ java -cp .;xfbwsjti.jar;xfbwsexec.jar;MyWSExec.jar; sopra.xfbws.transfer.interf.exec.XFBWSExec DOMAIN=http:// devsrv01/xfbwsuser/ USER=wsuser1 GROUP=wsgroup1 PASSWORD=wsuser1 PASSWORDFORMAT=CLEAR STATION=wsserver1 LANG=English REQUEST=RunClass FILENAME=C:\\testfile.txt CLASS=MyClass DEBUG=yes ARGV=myArg1
16:31:31 instantiation
16:31:31 Exception: java.lang.NoSuchMethodException: MyClass.execute(sopra.xfbws.plugin.JTI, java.lang.String)
2
000000000000
2019
execute
The source code of MyClass is:
import sopra.xfbws.plugin.FileTransferReport;
public class MyClass {
public Integer execute(sopra.xfbws.plugin.JTI jti, String args) {
FileTransferReport ftr = new FileTransferReport();
System.out.println(”It’s works!: ” + args);
jti.createFileTransfer(new String[]{”SERVICE=” + args}, ftr);
return new Integer(0);
}
}
—————————————————————————————–
Can anybody help me?
If someone knows where is the Workstation forum please take me in.
Thanks.
Additionally I’ve attached the .jar that I’m using
Thanks in advance



