Hello,
I am using a data service configured as follows:
<destination id="hr_itemsvc">
<adapter ref="java-dao" />
<properties>
<source>com.trl.flexds.assemblers.TimeItemAssembler</source>
<scope>application</scope>
<metadata>
<identity property="itemId" type="java.lang.Long"/>
</metadata>
<network>
<session-timeout>20</session-timeout>
<paging enabled="false" pageSize="10" />
<throttle-inbound policy="ERROR" max-frequency="500"/>
<throttle-outbound policy="REPLACE"
max-frequency="500"/>
</network>
</properties>
</destination>
The assembler is declared as:
public class TimeSheetAssembler extends AbstractAssembler
and implements the method:
public void createItem(Object oTarg)
When I make the ActionScript call:
dsTimeItem.createItem(oItem); (dsTimeItem defined by:
dsTimeItem = new DataService("hr_itemsvc");),
I get the error:
"Could not locate sync-method for destination hr_itemsvc"
According to the documentation, I do not have to define a
"sync-method" when I implement an assembler. Why am I getting this
error?
Thanks for any assistance,
Mark