Hi there,
I defined a ds.xml like this:
My application invoke "updateDistribution" associated method without problems, but doesn't the same for "dropDocument". If modify the xml maintaing only one binding (doesn't care which of two, I've tried both), all works correctly.
There is a way to define multiple "custom" (identified as operationType="custom") operations into same DataSource?
I miss something?
Thanks,
Luca.
Edit: (basically, the last "operationType=custom" bind overwrite all previusly setted)
I defined a ds.xml like this:
Code:
<DataSource ID="dpDistribution" schemaBean="it.onetech.dtproviding.server.entity.Distribution"> <serverObject lookupStyle="spring" bean="distributionDao" /> <operationBindings> <binding operationType="custom" serverMethod="dropDocument"> <serverObject lookupStyle="spring" bean="distributionDao" /> </binding> <binding operationType="custom" serverMethod="updateDistribution"> <serverObject lookupStyle="spring" bean="distributionDao" /> </binding> </operationBindings> </DataSource>
There is a way to define multiple "custom" (identified as operationType="custom") operations into same DataSource?
I miss something?
Thanks,
Luca.
Edit: (basically, the last "operationType=custom" bind overwrite all previusly setted)
Comment