Hi All,
I've scoured these forums and the rest of the 'net as best I can, but I can't seem to find a solution for my issue, so I'm hoping maybe someone out there can shed some light on it for me.
I have InDesign Server running on one box (IP of 192.168.1.5, launched to service SOAP commands on port 12345), and I'm attempting to send a SOAP command to it via Applescript from another box, but I can't seem to figure out how to get it the RunScriptParameters. The Applescript I'm running looks something like (dummy text in for the parameters right now, because that's where my trouble is):
tell application "http://192.168.1.5:12345/"
set resultText to call soap {method name:"RunScript", method namespace uri:"http://ns.adobe.com/InDesign/soap/", parameters:????}
end tell
Every time I run it, under a variety of ways of trying to feed it parameters, I get the error: "/ got an error: The required SOAP element "RunScriptParameters" could not be found. Please check the SOAP message that was sent to InDesignServer." I'm lead to believe that the method name and method namespace uri I'm sending through are correct, as if I change either of those it gives me a generic error. (Method <blah> not implemented, if I change "RunScript or the method namespace uri.)
So, what I'm left with is figuring out how exactly to send through the RunScriptParameters with this setup. I've tried every way I can think of to feed it the scriptLanguage, scriptFile, and scriptArgs, as an array of elements under parameters, as part of a variable called runScriptCommands which I feed through parameters, and every variety of this, to no avail, all giving exactly the same error. Any help would be immensely appreciated.
(And I know Applescript may not be the ideal way to call a SOAP command, but it would be a very simple way for me to test ID Server scripts in my situation, and there isn't any reason that I can see that it shouldn't work...)
Thanks!
Mathew