OSB: Dynamic XQuery & Dynamic Validate against resource
ferpJul 16 2009 — edited Mar 15 2011Hi all,
I've a proxy where I select a dynamic XQuery and I would like to validate the result against a given schema that is different depending on the selected dynamic xquery. The result of the dynamic XQuery is an xml resource that is valid against its own schema but I have different schemas.
My routing table (a simple xquery resource) contains the dynamic XQuery to select and the schema to be used for validating the result from the xquery.
I noticed that the validate action doesn't support the dynamic selection of a resource to use in a validate action.
Before osb 10.3 (alsb 3.0) the dynamic XQuery selection was implemented putting each XQuery execution (along with the related validate action) in a given proxy and then I used the dynamic routing concept. Now I can 'remove' this extra 'proxy wrapping layer' for dynamic XQuery execution but not for the validation part ... having at the end a mixed approach that I don't like ...
Do you have any suggestion ?
regards
ferp