To recieve arguments in Indesign Server you simply call:
app.scriptArgs.getValue("myvar");
But when I like to iterate over all the arguments, it seems Indesign Server doen't understand how to do this. There is a way with app.scriptArgs.getElements();
,
but still you can't get any arguments, see
documentation.
Does anyone have a idea? I like to recieve an array list of all the arguments passed to the script.
After searching via google, I think I found solution.
To Test Run ...
Finally , Before you invoke SOAP service , you need to add below code
For reference link http://forums.adobe.com/thread/853668