Sync Web Service

sanojsanoj Member Posts: 19
edited 2010-02-18 in NAV Three Tier
I want to syncronize to NAV tables (items) in two different NAV databases using web services in NAV 2009. How could I send a bunch of records in one transaction? Should I package the data in xml and then send it over or is there a better way?

Comments

  • ara3nara3n Member Posts: 9,256
    Yes, you can use an xmlport import/export the xmlfile.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • sanojsanoj Member Posts: 19
    Thanks for your answer!

    Lets say I have a change log containing changes in different kind of tables. Is there a way I can sync these changes in a generic way or do I have to create a xmlport for every type of table? I want to sync the changes in a kind of "recref" way... Is it possible?
  • ara3nara3n Member Posts: 9,256
    take a look at this


    viewtopic.php?f=7&t=34116

    It uses msxml but you can build it using xmlport, I have not looked at xsd of the xml file yet.

    It uses namespaces which I suggest not to use in xmlport.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • sanojsanoj Member Posts: 19
    Hi Rashed,

    Thanks for your answers! Your helped me in the right direction and I have now managed to develop a sync routine.

    Thanks a lot!
Sign In or Register to comment.