i have to call an AS400 prog by a java class. i've found the method
ProgramCallDocument(connexion, "myProg");
it works fine, but "myProg" has to be a file into class path. But in my case this will be sent by a user through an html form.
So my question is: how can i load an xml file into the classpath dynamically ??
That's ok !
i've found out this method:
public ProgramCallDocument(AS400 sys,
String docName,
InputStream docStream,
ClassLoader loader,
InputStream xsdStream,
int type)
throws PcmlException
which allow to create a DocumentCall based on the inputstream.