Kony Fabric
The below diagram shows the batching logic applied when datasource supports the batching.
If download request from the device specifies the batch size, then device will receive the data in multiple batches depending on the batch size. There is no guarantee that the requested batch size will be the actual batch size. Actual batch size will be closer to the specified batch size.
For tracking the download status, sync engine will maintain the state in the batch context, which will be exchanged during request/response from the device to Sync .
The above flow repeats from the device till the more changes available flag is false.
Note: In case of Webservice as Datasource, when errors are reported in SOAP response instead of SOAP Faults, then add the below param in the Synconfig
file under each service output param to catch the exact error.
For example: To use salesforce webservice, add as shown below:
<Param Name="errmsg" Expression="//errors/message/text()" Datatype="string"/>
Copyright © 2012 Kony, Inc. All rights reserved. |