Thanks, Divesh for such a detailed explanation :) (seriously, the above was well appreciated...)
Well, I tried all of these scenarios: a) I tried setting the invoke of createCategoryI18nRollup (service_groups.xml) to async and the the optional to true. The Result was, that the first service creates an instance just fine, but createCategoryI18nRollup did not create an instance in ProductCategoryRollup b) I set the invoke of createCategoryI18nRollup to async and the optional to false. This will create the following error: Error doing entity-auto operation for entity [ProductCategoryRollup] in service [createCategoryRollupI18n]: org.ofbiz.service.GenericServiceException: In Service [createCategoryRollupI18n] which uses the entity-auto engine with the create invoke option: could not find a valid combination of primary key settings to do a known create operation; options include: 1. a single OUT pk for primary auto-sequencing, 2. a single INOUT pk for primary auto-sequencing with optional override, 3. a 2-part pk with one part IN (existing primary pk) and one part OUT (the secdonary pk to sub-sequence, 4. all pk fields are IN for a manually specified primary key c) I set the invoke of createCategoryI18nRollup to sync and the optional setting to false and the first service creates an instance, but the second would not touch the ProductCategoryRollup as planned... d) I set the invoke of createCategoryI18nRollup to sync and the optional setting to true and again the first service creates an instance, but the second would not touch the ProductCategoryRollup as planned... So setting the pk auto-attribute to optional doesn't really seem to matter much (on the tests above I restarted the server on both changes to the service_group.xml file and cleared the cache on the changes on the service.xml file)... -- View this message in context: http://www.nabble.com/Form-Widget-call-multiple-services--tp21836332p21850538.html Sent from the OFBiz - User mailing list archive at Nabble.com.
