Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
try {
// Call Web Service Operation
krfs.jefferies.FTPGetService service = new krfs.jefferies.FTPGetService();
krfs.jefferies.FTPGet port = service.getFTPGet();
// TODO initialize WS operation arguments here
krfs.jefferies.Args args = new krfs.jefferies.Args();
args.getItem().add("--context_param ftpHost="+ftpHost);
args.getItem().add("--context_param ftpLogin="+ftpLogin);
args.getItem().add("--context_param ftpPassword="+ftpPassword);
args.getItem().add("--context_param ftpPort="+ftpPort);
args.getItem().add("--context_param localDir="+localDir);
args.getItem().add("--context_param remoteDir="+remoteDir);
args.getItem().add("--context_param fileNameRegEx=20100115");
krfs.jefferies.RunJobReturn result = port.runJob(args);
System.out.println("Result = "+result.getItem().listIterator());
} catch (Exception ex) {
// TODO handle custom exceptions here
}