I have about 1500 RPG/CL programs I want to call from my Web App. So... I have about 1500 xpcml files.
I can (and already do statically) build xpcml using JAX_B as the jt400 toolkit provides an xsd schema and my Java functions know the parameters of the RPG/CL programs so I'd like to not need the files to exist, and just build a JAX_B bean on the fly and marshall it into the jt400 ProgramCallDocument.
I don't see a ProgramCallDocument constructor that could support that. Am I blind?
I haven't actually tried this, but take a look at this constructor ...
ProgramCallDocument(AS400 sys, String docName, ClassLoader loader, InputStream xsdStream)