Hi Bryan
I think you need to do the following:
- The submit button on the form should submit in XML format
- Your input variable in the workflow should be of type XML
- Your servlet should extract the forms data (as a string), and convert this to a org.w3c.Document, before passing it as the input to your Workflow.
- In your workflow, the first step should be a SetValue QPAC. This should assign the XML data from the input XML variable to the ../data/ node in the xfaForm variable.
You can't coerce directly from your XDP data to a Form variable, because a Form variable is a complex object that contains both the XML data, and a reference to the form. You have to copy over just the XML data into the correct location within an existing xfaForm variable. I think
🙂I think this will work. Let us know...
Howard
http://www.avoka.comPS We just have in alpha testing a generic servlet that will do what your custom servlet does, and quite a bit more. Please email info@avoka.com if you're interested in trying this out.