I am having prolem when dealing with N-way synchronization.the problem description is below:
differebt systems involved in the integration uses their own native codes for representing data. say one system may use 001 to represent countrycode for some country and other may use 010 for the same country as countrycode. How to do these transalations? source system send data to webMethods with their own native codes and webMethods is supposed to synchronize data in target systems with their corresponding native codes.
Could you please help me in sorting out this scenario.
Thanks in Advance.
You can consider storing these codes in DB table, so when source system sends particular code, you can query and retrieve the value of target system’s respective code.
you can handle this scenario by using properties file also.
Better I’ll explain with below example.
- create properties file
ex : firstName=E001
- Put this properties file in config dir
- get that properties file from conf directory
- Translate data codes based on the input value.
Please let me know if you face any problem
Thanks for your replies. But in the scenario, i need to update the xrefs also. In that case how can we handle? i got some information like we should store all the translations in DB and then we need to pull the data from DB. but i dont know how to perform the cross-referencing and what exactly it means. Please guide me.
Thanks in Advance
Using xref is here is the best bet for you. Please refer to following GEAR documentation, they are describing this topic in very great detail:
Data Synchronization: Cookbook- GEAR 6.5 – Implementation Guide
Data Synchronization: Overview- GEAR 6.5 – Implementation Guide