Writing a script to configure event actions using pxsoap
Write a pxsoap.cfg
script file, using the PSLang scripting language, to configure event actions triggered by the pxsoap
program. Modify the sample script included in the samples directory, and copy it to the \<instance>\script\ directory. If you cannot find the sample file, try re-running setup
to modify your installation. Sample files are automatically installed with complete (typical) installations. You can select them in custom installations.
When configuring an event, you enter the program name or the target ID you set up earlier. In both cases, the program looks for the default script with the matching name.
You can write an alternative .cfg file; for example when you have multiple targets of the same type. When you configure an event, you specify the file using the -cfg parameter; for example:
pxsoap.exe -cfg myfile.cfg
or
MYSOAP -cfg myfile.cfg