You could make a short lived process that returns the first form. After
printing, it submits to another process or the same process with a
parameter indicating it is the first submission. It returns the second
form. Repeat until all your forms have been handled.
I wrote an ant script for creating my components for me. It was still
tedius to deploy them over and over in Workbench. I wrote the java app
below (much of the setup is from sample files in help). I configured my
Java project in my IDE to use this file as what runs and to run my ant
task to build the component before running. So I can just change code,
hit the quick key for run and my new code is deployed on the server to
The path would have to be as seen from the server, not how it would be
seen from your local machine running Workbench. You would either need to
copy it to the server or copy to a shared network drive that can be seen
by both your local machine and the server. The second one would be
easier to keep track of if you used the same network drive letter on
both machines.To make your process available as a Webservice, you just
have to have SOAP checked in the settings on the big green arrow put at
There are Java API for those services. If you try to import any classes
to use the APIs and get errors, don't add the JARs. In component.xml,
after .. add this for reader extensions.
You do not need to pass in properties to the creation
of the client factory. ServiceClientFactory serviceFactory =
reClient = new ReaderExtensionsServiceClient(serviceFactory);... outDoc
Is this in a custom component? I am wondering since the Exception says
not found in namespace. If so, try using import-packages in
component.xml instead of class-path and actually adding the jar.
Workbench is the tool to write a process. Wouldn't your end user be in
Workspace?If these scripts can be run from the server, then you could
wrap them with a process that uses an execute script
step:Runtime.getRuntime().exec("something.bat");You could then call that
process as a webservice from a form when the user clicks the check box.