I'm guessing that you are trying to pre-fill some of the fields on a Form using XML data as imput and then render an interactive PDF so that the end user can enter more data?
If so, I have done that using just one step with service = FormsService and service name = renderPDFForm. In my case I have 2 input variables InputFormName (we use this same process for multiple forms, hence the form name) as a string and InXML as XML.
I made the process for prefilling but case this time is bit different, I am getting customerId and form URL as an input. Using this customerId, I fired query to the database and extracted the information in an xml and then merged with the form.
Hereby, my question is, when I get output from DB in an xml. I need to provide xml information and mapping with database column. Is there any operation in which the xml definition is created during run-time depending on the form xsd?
Please, help me out in this. With this approach my process is form dependent.