I wrote a query backed AIF service that i have since modified. I added fields to the underlying tables that the query uses, restored the query, refreshed the AIF service ( basic > AIF > services > refresh(button) ) then updated the document service (ax > tools > development > aif > update document service) and regenerated the data object classes and updated the AxBC classes.
when i attempt to process in a test document with the new document schema, i get an error that the child element doesn’t exist. I have checked the document schema and the element exists there, its in the query, and its enabled on the action data policies for the service. the only thing that stands out to me is that the endpoint action data policies for the service aren’t in what i would classify as the correct order. i would expect to something like this (in the xpath column)…
(standard aif xpaths)
parent/field1
parent/field2
parent/field3
parent/child/field1
parent/child/field2
parent/child/field3
but what i see is this:
parent/field1
parent/field2
parent/child/field1
parent/child/field2
parent/field3
parent/child/field3
and it just so happens the element that is throwing the error is parent/field3. the exact error is (names removed)…
Invalid document schema. The following error was returned: The element ‘field3’ in namespace ‘’ has invalid child element ‘PaymMode’ in namespace ‘’. List of possible elements expected: ‘’ in namespace ‘’.
any suggestions?