Perhaps this has been asked and answered, and perhaps it should be in a different forum, but I've been unable to find an answer to this particular issue.
I created a PDF form using the Form Wizard in Adobe Acrobat 9 Pro, compatible with 7.x. This did a nice job of providing tags and initial formatting for my data entry fields.
I then used LiveCycle Designer ES 8.2 for the rest of my form development.
In LiveCycle I added some hidden fields to hold temporary values for my form id and to help format certain values (e.g. First and Last name become comma separated Last, First). In the forms I created, I also included at least one multi-line field to hold XML values as input and output between my form and several custom Web Services I've created in .NET.
I originally prepopulate my PDF form with the form id using itextsharp. In the form:ready event, I then queried the DB via a Web Service using that ID to get the rest of the form's information in an XML string. This was done using 'xfa.connectionSet.wsdlRef.execute(0);'. I also get the list of values for several drop-downs I included in my form. NOTE: After encountering the issue I describe below I went ahead and prepopulated even more of the data without using the Web Service calls, but haven't completely cleared up the issue.
As so many have found, when running forms with web service calls using a system with Acrobat Pro installed it's no problem. But with Reader only, there's an issue. The difference here is that sometimes the execute works and sometimes it doesn't. The error I get is:
extMessage: General error: Operation failed.
Invalid property get operation; packet doesn't have property 'wsdlRef'
In one form, the first execute of the web service to get the information associated with the form id fails, the next two executes to get drop-down information work fine, and the last one to get yet another drop-down's information fails. I'm wondering if this is a timing issue with Javascript.
I'm very close to being able to implement this solution and this is likely the last major hurtle for me to clear. Can anyone help with this?
Thanks in advance!