does anybody have a complete example on how to send a script to indesign server and get a response using SOAP in ASP.NET
I've already read the post
and all links within this post, but I can't seem to get it working.
I'm running on a widows 7 ultimate x64with a Q6600 processor and 4Gb of memory (so I meet the system requrements )
I can send a script to the server, butI always get a response of null. I use the folloing script to test this function(javascript)
function main(){return 'test';}main();
/*function main() {
var doc = app.open(File('C:/Users/Wesley/Desktop/myTestDocument.indd'));
doc = doStuff(doc);
doc.exportFile(ExportFormat.PDF_TYPE,new File('C:/Users/Wesley/Desktop/test.pdf'));
var pages=doc.pages.length;
pages=app.configuration;
pages=app.scriptPreferences.version;
doc.close();
return pages;
}
function doStuff(doc) {
// do some stuff
return doc;
}
main(); // the return statement in this function actually gets returned*/
when I run this code in ExtendScript CS4, the script runs fine, but I found out that ES4 sends the script through COM.
Are there any know issues with IndesignServer x64 or it's related IndesignServerService?
all help is welcome
kidn regards,
Wesley