This content has been marked as final. Show 3 replies
Because of this new DataService("hr_itemsvc");
You may want to create a temporary object first then call your createItem.
Can you provide the full error/fault information? I don't see that specific error string.
When you extend the AbstractAssembler you're right, you don't need to define your sync-method in the config file as the Assembler interface defines the required methods. As long as your assembler implements Assembler or extends AbstractAssembler you shouldn't be hitting the code path that checks for a sync method.
The exact error message is:
Error: Unable to locate a sync method for destination hr_itemsvc.
The error has since gone away. My workaround was to create multiple destinations for the same assembler class. I am using one destination without fill and sync methods defined; the other destination has several fill methods and one sync method defined, for use in a different part of the application. I have found it necessary to use the fill methods, even though the assembler extends abstract assembler, because I have not been successful in extracting the parameters from the fillParameters list that is passed by default to the fill method.
I now have a new and more frustrating problem, which I am posting to a new thread: "UnsupportedOperationException"