InDesign Server, Applescript, and SOAP

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

Hey..Can you tell me how did you executed jsx using sampleclient. Which SDK's sampleclient you used for executing this.??

Similar Messages

  • InDesign Server Installation and Configuration Guide

    Hi everybody
    I try to ask one silly Q.
    Where can I get this document.
    I found many references but no link :(

    There is no document titled "InDesign Server Installation and Configuration Guide". This was an error in the CS2 version of Introduction to InDesign Server.
    You'll find the CS2 version of Introduction to InDesign Server in the InDesign Server CS2 ESD (the server download bundle). Even better you'll find the CS3 version in the InDesign CS3 Server SDK. Available at the following URL:
    http://www.adobe.com/devnet/indesign/
    The information about Java/CORBA is specific to CS3, but the information about scripting and SOAP applies to CS2.
    Let me know if that helps, or you still need something else.
    Regards,
    Heath Lynn
    Developer Technologies
    Adobe Systems

  • InDesign Server configuration and fonts

    When you start multiple instances of InDesign Servers you specify the different configuration names.
    Is it possible that 2 instances of InDesign Servers running on the same server with different configuration names have different fonts installed?
    I.e. can I install some fonts of configuration level, not for the entire server?

    There is no document titled "InDesign Server Installation and Configuration Guide". This was an error in the CS2 version of Introduction to InDesign Server.
    You'll find the CS2 version of Introduction to InDesign Server in the InDesign Server CS2 ESD (the server download bundle). Even better you'll find the CS3 version in the InDesign CS3 Server SDK. Available at the following URL:
    http://www.adobe.com/devnet/indesign/
    The information about Java/CORBA is specific to CS3, but the information about scripting and SOAP applies to CS2.
    Let me know if that helps, or you still need something else.
    Regards,
    Heath Lynn
    Developer Technologies
    Adobe Systems

  • InDesign Server CS5  and Hardware Configuration.

    Does any one know of InDesign Server is supported on Intel Xeon processor?
    We have a need to generate 100's of PDF that merges a Data and Images togther. Each outout PDF varies anywhere from 20 MB to 400 MB. Below is the server configuration we are planing to purchase..
    Six-Core Intel® Xeon® Processor X5670 (2.93GHz, 12M L3 Cache, 95  with 84 GB RAM.
    http://h10010.www1.hp.com/wwpc/us/en/sm/WF06a/15351-15351-3328412-241644-241475-4091412.ht ml?dnr=1
    Any one have any experience and any issues?

    Hi there,
    Yes we solved it. We had a background process in our app that was trying to send over a thumbnail generation script. This would peg the INDS server for up to 15 minutes of just doing nothing. You would see the script come across but nothing would return so it would hose. Ended up fixing the error in our application and INDS has been working like a dream.
    When we were running this we only were on a single-instance. We've now migrated to a multi-instance and throughput seems to be a lot faster now.

  • Search for, edit, and delete XML tag (Adobe InDesign Server CS5)

    Hi all,
    I'm working with Indesign Server CS5 and JavaScript, though having some trouble coming up with a solution to a problem...
    I need to build a JS script (called through SOAP) that will enable me to search an InDesign file for a given XML tag.
    Upon finding the XML tag, if the 'action' variable is set to delete, it should delete the tag and its contents.
    If the action is set to edit, it should change the contents of the tag to some user-specified content.
    The primary caveat is that the XML tag is variable, as is the XML structure of the InDesign file.
    Here's what I have in mind, in pseudocode:
    function findXMLTag(tag, action) {
         app.searchForTag(tag);
         if (tagIsFound) {
              if (action == "delete") {
                   tag.delete;
              } else if (action == "edit") {
                   tag.contents = "Updated content";
    Any help would be greatly appreciated!
    Thanks,
    Ben Kay

    'searchForTag' can be implemented as a recursive function.
    Recursion is defined like this: I thought, "I'll just search this forum for 'recursion'." The first post I found was one of my own, suggesting that the poster should search the forum for 'recursion'.
    Here is an example: find the XML Element [<email>]
    And another: Remove xml element using JS[CS3] (read carefully, as the OP got stuck on how to successfully remove an element and continue)
    And one, using XML Rules -- which I'm totally unfamiliar with, but may work for you: Changing Values in XML tags

  • Indesign server CC trial help

    I have programmed Applescript and Indesign for desktop for years.
    I have a solution that should work well with Indesign server and applescript.
    Downloaded the Trial for Indesign Server CC.
    Then you have to figure out how to activate the product, which i think i have done via this command :
    adobe_prtk --tool=StartTrial --leid=InDesignServer-CS7-Mac-GM
    Now that its not compaining about being activated i can see that the sample applescripts provided in the install can compile.
    If i run them however i get a failiure thats odd.
    tell application "Finder"
              get startup disk
                        --> "CWFM1:"
              exists "CWFM1:ServerTestFiles"
                        --> true
              exists "CWFM1:ServerTestFiles:bob.indd"
                        --> false
    end tell
    tell application "InDesignServer"
              close every document saving no
              make new document
                        --> document "Untitled 3"
              save document "Untitled 3" to "CWFM1:ServerTestFiles:bob.indd"
                        --> error number -1728
    Result:
    error "InDesignServer got an error: Can’t get document \"Untitled 3\"." number -1728 from document "Untitled 3"
    The folder is chmod'd to 777 so its not a read write issue.
    if i just use the normal open command in applescript i get this error :
    The document “bob.indd” could not be opened. InDesignServer cannot open files of this type.
    which is just odd. its a normal empty indesign document with nothing in it!
    has anyone got ideas?
    Server is MacMini i7 with 16gb ram, OS X 10.8.5 server.

    Ok, i uninstalled indesign server CC and found a copy of the Trial CS6 indesign server. that works fine. must be a bug in CC. Joy....

  • Indesign Server CS4 service is not starting on Windows Server 2003 64bit

    Hello guys,
    I am not able to start Indesign Server CS4 service on windows Server 2003 SP2 64bit .
    I have successfuly configured the service with InDesignServerService.msc, set the port to 18555. InDesignServerWinService the Log On option is set to "This Account". Also tried using different accounts!
    When starting the indesign service from windows Service control panel I get this error:
    Could not start the InDesignServerService x64 service on Local Computer.
    Error 1053: The service did not respond to the start or control request in a timely fashion.
    Error log from windows Event viewer:
    Error
    Timeout (30000 milliseconds) waiting for the InDesignServerService x64 service to connect.
    Indesign server application works if launching from command line with the specified port 18555.
    If trying to lauch IndesignServerService.exe from command line, there is a delay and finally nothing happens.
    I have also tried launching 32bit indesign server service and the same error comes.
    Would be grateful for your thoughts!
    Message was edited by: Andrewdev
    Server specs:
    Windows Server 2003
    Standard x64 Edition
    Service Pack 2
    Intel Xeon CPU 3.00Ghz
    9.76 GB of Ram
    Server is running virtualy on Xen hypervisor, there is no antivirus and windows firewall is disabled.

    Hi Chandi,
          If Microsoft fix is not working or it is too old to apply then go for manual process i.e.;
          In the Microsoft KB article follow this :-
         Services that use the local system account to log on to a Windows Server 2003-based computer start if the Allow service to interact with desktop
         option is turned on. To turn this option on, follow these steps:
    In the Services tool, click the service that you want to start, and then click Properties.
    Right-click the Log On tab, and then click to select the Allow service to interact with desktop check box.
    Click OK to exit the Properties dialog box.
       This will solve your problem.
       Thanks,
       Akansh Upadhyaya,
       System Engineer,
       (Windows + Unix.)

  • Indesign Server

    Can more than one Indesign servers run at the same time in same machine ? i mean can indesign server cs5 and indesign server 5.5 run at the same machine at the same time ?
    Thnaks in advance .. 

    I'm suggest asking in the InDesign Server Developers forum:
    InDesign Server Developers

  • InDesign Server CS5.5 installation issue

    I am developing solution using InDesign Servers via COM which is hosted on Windows Server 2008 R2. And I am experiencing problem utilizing CS 5.5 server:
    When InDesign Server CS5.5 is installed on Windows Server 2008  (64bit) its COM component is registered with following parameters: CLSID = {96D10A00-63E3-423e-A223-DFC4BEA21206}, ProgId =  InDesignServer.Application.CS5.
    The problem is that those are the same parameters that are used for InDesign Server CS5 COM component. And therefore I can't have CS5 and CS5.5 installed on the same server, which is required for solution I am deleloping.
    Has anyone experienced that problem or maybe know some workaround for it?
    Meanwhile, When InDesign Server CS5.5 is installed on Windows 7 (32bit) its COM component is registered with unique parameters: CLSID ={34701EBC-5975-411C-8A45-E78E0934AADD}  and ProgId = InDesignServer.Application.CS5.5

    Hi Alexey
    I'm having trouble doing exactly what you say you have done.
    I'm trying to run InDesign Server CS5 and InDesign Server CS5.5 on the same Windows 2008 r2 64bit installation. InDesign Servers are Single Instance.
    I am only allowed to run one InDesign Server at once - not both.
    Is this possible for you or any other in this forum?
    Thanks in advance,
    Ruvan

  • Amsterdam is looking for a free-lance programmer to help us with setting up an InDesign Server CC.

    Hi,
    Our company uses InDesign Server CS4 with a PHP-based daemon. This all works fine, but our (bought) code is encrypted.
    We are upgrading to InDesign Server CC, and need help setting up a daemon and robust queueing system.
    That's why we are in need of someone to help us with that, on a free-lance base.
    Do you have experience with this, and living in The Netherlands, please contact us. If you know someone else, please forward our request.
    Best Regards,
    Tom Zinger
    [email protected]

    Hi,
    Our company uses InDesign Server CS4 with a PHP-based daemon. This all works fine, but our (bought) code is encrypted.
    We are upgrading to InDesign Server CC, and need help setting up a daemon and robust queueing system.
    That's why we are in need of someone to help us with that, on a free-lance base.
    Do you have experience with this, and living in The Netherlands, please contact us. If you know someone else, please forward our request.
    Best Regards,
    Tom Zinger
    [email protected]

  • Cannot install InDesign Server CS4: Win 2003 x64

    One of my customers has just purchased InDesign Server CS4 (Single Instance, Premium License) and I'm trying to install build 525 on Windows Server 2003 Enterprise Edition x64. I select the default 'Easy/Recommended' installation settings and the installer runs through, but then displays the message below. I've tried installing to different directories but hit the same error every time.
    When I select 'Next' the installer lists the following products and components have been successfully installed:
    Adobe InDesign CS4 Server
    ID Server service files
    ID Server components
    ID Server service files (x64)
    However, it doesn't appear to have installed correctly, as if I start the InDesign Server service and then execute the following test script nothing happens:
    #target indesignserver;
    //HelloWorld.jsx
    //Create a new document.
        var myDocument = app.documents.add();
    //Get a reference to the first page.
        var myPage = myDocument.pages.item(0);
    //Create a text frame.
        var myTextFrame = myPage.textFrames.add();
    //Specify the size and shape of the text frame.
        myTextFrame.geometricBounds = ["6p0", "6p0", "18p0", "18p0"];
    //Enter text in the text frame.
        myTextFrame.contents = "Hello World!";
    //Save the document (fill in a valid file path).
        myDocument.save(new File("/e/HelloWorld.indd"));
    //Close the document.
    //Close the document.
        app.documents.item(0).close();
    Any ideas?

    I gave up on this and ended up installing the 32 bit version which works fine. It appears that there is a problem installing 64 bit on Windows 2003 Enterprise Edition so watch out...

  • Use AD with InDesign Server

    Hi,
    we use adobe bridge CS5 with adobe drive 2.1 and version cue CS4 - everything works fine!
    now we try to connect our InDesign Server CS4 and CS5 with VC CS4 through AD 2.1, means
    our IDS should generate pagepics or pdfs from InDesign documents.
    Everything works fine while the IDS and ID use a normal UNC path for a picture link.
    but now, if the picture is placed in indesign and it is linked to version cue (through drive)
    the ids could "see" the link, but can't use it to generate the pagepic or the pdf.
    the server does not sent a reasonable error or warning, it just generates the pagepics by using the picture
    thumbnail. for example: if we placed an illustrator .ai file in the Indesign document the
    server will only show a grey area in the pagepic instead of the right .ai file.
    if the server tries to generate the pdf, it stops with error announcement: "error while generating the pdf file"
    the IDS works on a windows 2008 R2 server. VC CS4 is also hosted on the same server.
    we tried to solve the problem by hosting version cue on a mac or an other windows machine,
    but the problem is still the same. we know that IDS is not listed in the system requirement list
    of Adobe Drive but maybe there could be a solution to use it anyway?!
    thx for all helpful answers!
    greetings
    stineson

    Stineson-
    Hi I was wondering if you ever overcame this the issue with bad IDS link to an Adobe Drive volume. I'm trying to do the samething for a different purpose. When I place a piece of art on an InDesign page from Adobe Drive the HFS path looks normal.
    When I see IDS process the same file, with the same availability to the art. I get the following logging in IDS:
    03/31/15 17:13:25 ERROR [link manager] Link missing.; adobevc:/Volumes/OTMM/Public%20Folders/MEI%20TEST/P48_002.jpg?NjQxMjlhMGYtOTMyMS00Yjg2LTg5YWItYTZkYjVkNTlhZjdiAAAvUHVibGljIEZvbGRlcnMvTUVJIFRFU1QvUDQ4XzAwMi5qcGcqYzZhNmJhZGI1YThjYzhiNDYyOWM1ZjY3YWJmNGQyOWIwZjVmZjMyYQAvUHVibGljIEZvbGRlcnMqQVJURVNJQS5QVUJMSUMuVFJFRU4AL1B1YmxpYyBGb2xkZXJzL01FSSBURVNUL1A0OF8wMDIuanBn
    Any help would be appreciated!

  • SSL and indesign server - soap communications.

    Does anyone know if (and how) you could use SSL to talk to indesign server using soap.  The gSoap library (that I believe indesign server uses) has some support but needs compiling to include it, so I'm assuming it isn't included but would like to know for sure.
    Thanks
    Ian

    Hi folks!
    A typical scenario I'll encounter at customers regularly is that they have SSL only until the Webcache in the DMZ , as Jon has described. You could create real end-to-end security. The connection to the OHS in the middle tier and even to the infrastructure can use SSL.
    When you want to have the database connection encrypted you'll need the Adv. Security option. The protocol between the middle tier and your database is usually using SQLNet or JDBC. For these you need the Advanced Security option.
    cu
    Andreas

  • InDesign Server SOAP API - Status check

    Hi,
    I am running 5 InDesign ports and sending jobs using "Sample Client" SOAP method. For some unknown reason, some ports got crash or not responding. How can I check whether particular port is running without "crash or not-response"? So that, I can notify this by automatically, and send the job to another port.

    If you're an InDesign Server developer, you probably need to post here:
    InDesign Server Developers

  • InDeSign Server - Flex - SOAP - Business cards tutorial - MISSING Arguments for Script

    Hello, <br /><br />I test even Adobe Flex with InDesign server. I am occupied with<br />the Business cards tutorial. The Problem is, which no arguments are<br />transferred to servers at InDesign. The Script is executed and the new document and the pdf are produced.<br />But without contents!? Is the error situated in it WSDL file? Here my<br />data:<br />InDesign Server Port = 8070<br />Mac Localhost = http://localhost:8888<br />The IDSP Root = http://localhost:8888/IDSP.wsdl<br /><br />IDSP.wsdl Content<br /><br /><?xml version="1.0" encoding="UTF-8"?><br /><definitions name="Service"<br /> targetNamespace="http://localhost:8888/IDSP.wsdl"<br /> xmlns:tns="http://localhost:8888/IDSP.wsdl"<br /> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"<br /> xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"<br /> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"<br /> xmlns:xsd="http://www.w3.org/2001/XMLSchema"<br /> xmlns:IDSP="http://ns.adobe.com/InDesign/soap/"<br /> xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/"<br /> xmlns:MIME="http://schemas.xmlsoap.org/wsdl/mime/"<br /> xmlns:DIME="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/"<br /> xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/"<br /> xmlns="http://schemas.xmlsoap.org/wsdl/"><br /> .........<br />......<br /><service name="Service"><br /> <documentation>gSOAP 2.7.8c generated service definition</documentation><br /> <port name="Service" binding="tns:Service"><br />  <SOAP:address location="http://localhost:8070"/><br /> </port><br /></service><br /><br /></definitions><br />  <br />Flex MXML Content:<br /><br /><?xml version="1.0" encoding="utf-8"?><br /><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"><br />     <mx:WebService id="wsIDSP"<br />          wsdl="http://localhost:8888/IDSP.wsdl"<br />          endpointURI="http://localhost:8070"<br />          useProxy="false"><br />          <mx:operation name="RunScript" resultFormat="e4x"><br />               <mx:request><br />                   <runScriptParameters><br />                      <scriptLanguage>javascript</scriptLanguage><br />                      <!--Optional:--><br />                      <scriptFile>/Volumes/Macintosh HD/Applications/Adobe InDesign CS3 Server/Scripts/myScripts/businessCards.jsx</scriptFile><br />                      <scriptArgs><br />                     <scriptArg><br />                         <name>name</name><br />                         <value>{nameInput}</value><br />                    </scriptArg><br />                    <scriptArg><br />                         <name>company</name><br />                         <value>{companyInput}</value><br />                    </scriptArg><br />                    <scriptArg><br />                         <name>title</name><br />                         <value>{titleInput}</value><br />                    </scriptArg><br />                      </scriptArgs><br />                   </runScriptParameters><br />               </mx:request><br />               <br />          </mx:operation><br />     </mx:WebService><br />     <mx:Script><br />          <br />              [Bindable]<br />              public var nameInput:String="";<br />              [Bindable]<br />              public var companyInput:String="";<br />              [Bindable]<br />              public var titleInput:String="";<br />              <br />              private function makeCards(name:String, title:String, company:String):void<br />              {<br />                   nameInput = name;<br />                   companyInput = company;<br />                   titleInput = title;<br />                   <br />                   wsIDSP.RunScript.send();<br />              }<br />          <br />     </mx:Script><br />     <mx:Form width="410" height="277" x="46" y="34" horizontalScrollPolicy="off"><br />          <mx:FormHeading label="Business Card Information"/><br />          <mx:FormItem label="Name"><br />               <mx:TextInput id="textName" width="100%" /><br />          </mx:FormItem><br />          <mx:FormItem label="Title"><br />               <mx:TextInput id="textTitle" width="100%" /><br />          </mx:FormItem><br />          <mx:FormItem label="Company"><br />               <mx:TextInput id="textCompany" width="100%" /><br />          </mx:FormItem><br />          <mx:FormItem x="75"><br />               <mx:Button x="150" label="Print Cards" <br />                         click="makeCards(textName.text, textTitle.text, textCompany.text)"/><br />          </mx:FormItem><br />          <mx:Text x="47.5" y="194" text="{wsIDSP.RunScript.lastResult.errorNumber}" width="383" height="20"/><br />          <mx:Text x="47.5" y="224" text="{wsIDSP.RunScript.lastResult.errorString}" width="381" height="20"/><br />          <mx:Text x="47.5" y="254" text="{wsIDSP.RunScript.lastResult.scriptResult.data}" width="383" height="24"/><br />     </mx:Form><br /><br />     <br /></mx:Application>

    I am curious where you got the tutorial, and which version of InDesign Server you are using. Also, can you show the contents of the businesscards.jsx script?
    In the meantime, it seems like the connection from Flex to InDesign is working since your script is running and producing output. The next step is to check the arguments being passed to the script, and how the script is accessing and using the arguments.
    You can add this to your jsx script to test the values of the arguments:
    var myName = app.scriptArgs.IsDefined("name") ? app.scriptArgs.getValue("name") : "name undefined";
    app.consoleout("scriptArg name = " + myName);
    var myCompany = app.scriptArgs.IsDefined("company") ? app.scriptArgs.getValue("company") : "company undefined";
    app.consoleout("scriptArg company = " + myCompany);
    var myTitle = app.scriptArgs.IsDefined("title") ? app.scriptArgs.getValue("title") : "title undefined";
    app.consoleout("scriptArg title = " + myTitle);
    To see the values, watch the InDesign Server console window. If you are not getting the values you expect, check your mxml code to make sure the variable names are valid, etc. If you are getting the values you expect, examine your businesscards.jsx to make sure you are using the values as required to populate the InDesign document.
    Susan

Maybe you are looking for

  • Where to find adobe photoshop elemnts10 for photographers iPad app

    Where to find iPad app Adobe Photoshop Elements10 for Photographers? It is on the net but not in the iTunes apps

  • Error in SAINT

    Hi I got following error when importing addon in SAINT. Error is Import phase 'ADD_SYNCMARKS' (06.06.2008, 13:17:52) Error during executing the tp command 'tp SETSYNCMARK SAPK-301COINOTEXBAS VT2 ...' tp return code: '0200' , tp message: 'ERROR: see t

  • Imported pictures are HUGE.  Way too big.  How do I reduce JPEG size?

    JPEG size imports WAY TOO BIG.  How do I reduce JPEG size?  Thanks so much@!!

  • How do I export audio only?

    I have audio that needs cleaning up beyond what I know how to do and I want to send it off to a friend... the FCP Library is around 133GB so I'd like to just send the audio. How can I do that? Using version 10.1.4 Thanks.

  • Need help with Editor

    I am brand new to doing a post, so please bear with me. I have Photoshop elements 8. the program is not allowing me to open the editor. Any ideas? I click on it and it acts like it is thinking and then nothing....