Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Data Service

Avatar

Level 2
hi

i am vasibe and i am trying to connect to the databases wats
the problem i was facing it does not invoking a method from the
assembler class(does not calling the create method for inserting
values in the databases showing exception is that ("Could not
invoke sync method on data adapter for destination 'crm.employee'
due to the following error: class
java.lang.UnsupportedOperationException:AbstractAssembler does not
implement the createItem method." faultCode="Server.Processing"
faultDetail="null"])



thanks

Vasibe
1 Reply

Avatar

Level 2
Hi Vasibe,



Your assembler needs to implement a createItem(Object item)
method to override what is in the AbstractAssembler:



public void createItem(Object item)

{

throw new UnsupportedOperationException("AbstractAssembler
does not implement the createItem method");

}