I'm sure I should see this in the docs somewhere, but maybe I've misunderstood what I can and cannot do with RestHandler. The short of it is that I just want to expose my SGWT datasources (+DMIs and associated goodness) to some legacy application.
I've read the QuickStart, the RestHandler and RestDataSource javadocs, and it's not obvious to me how I'd post a request to RestHandler for a multi-datasource add or update operation.
I thought I might try
but what when I'm doing some sort of queuing - e.g., update countryDS and adding a someOtherDS?
I've read the QuickStart, the RestHandler and RestDataSource javadocs, and it's not obvious to me how I'd post a request to RestHandler for a multi-datasource add or update operation.
I thought I might try
Code:
<request> <data> <countryDS> <countryCode>US</countryCode> <countryName>Edited Value</countryName> <capital>Edited Value</capital> <continent>Edited Value</continent> </countryDS> <someOtherDS> <foo>EditedValue</foo> </someOtherDS> </data> <dataSource>countryDS</dataSource> <dataSource>someotherDS</dataSource> <operationType>update</operationType> </request>
Comment