I have a search fragment. When I open the fragment and click "Preview" in designer. I click on the "search" button, and it executes a web service that retrieves info from a database and displays it into a table. Everything is working beautifully. The fragment is set to Interactive, and Dynamic XML form.
What am I missing? I'm perplexed as to why the fragment works stand-alone but doesn't want to work when incorporated into a parent form.
Lastly, one more thing... when I open the fragment standalone, I get the same "current version of the xfa template model" warning, but the fragment calls the web service properly, while the form does not.
That error only warns you that you have set a target version that is greater than the version that you are viewing with. The only time that will matter is if you use features that are intended for a later release. Fragments was officially added in version 8 so you shoudl be ok.
Is the web service in the public domain? Could I try this here and see if I can duplicate?
Well, I'm not totally working yet. Even when I add the data connection to the main form, sometimes it calls the service (and returns one record only - probablay due to a positioned subform?) and sometimes it totally ignores the service.
The data connection on the form has the identical data connection name that is on the fragment.
I'm wondering if other "binding" is needed? When I create the data connection you can see the object fields are bound (red/green arrows).
No other data binding is needed .....can you validate that you are getting a response from the web service? You could modify the web service to write something to the log. This way you can at least know that it was called.