Creating XML scripts

The following procedure shows the typical steps that an administrator or application developer will do to create XML scripts.

Prerequisites

To create DataPropagator subscriptions for the Sync Server, DataPropagator replication must be set up between the source and the mirror using the DataPropagator tools.

Restrictions

Procedure

  1. Export the information from the control database into am XML script file using the XML Scripting tool executable dsyadminxml.bat. For example, from the Server/Bin directory, type:
     dsyadminxml.bat -x mycurrentsettings.xml
    
    where mycurrentsettings.xml is the name of your XML script file and - x is the command line parameter that tells the XML scripting tool to create the XML script file and populate it with information from the control database. See Using XML Scripting tool parameters for a complete list of command line parameters. If the process that you want to automate has not already been performed in the Administrador, you must perform it before you export the Administrador information into an XML script file.
  2. Edit the XML script file to manipulate the synchronization objects that you choose.

    The Administrador information in your XML script file will contain several processes that might be in excess of what you need. To identify the processes that you want don't want, refer to the XML Scripting tool DTD.

  3. Create an application that utilizes your edited XML script file.

Conceptos relacionados

Consulta relacionada