Interacting with InDesign Server without SOAP

Hi,
The documentation in IDS SDK tells that one can interact using Javascript with IDS without using SOAP.
How can one interact using Javascript and without SOAP?
I know that with Extendscript one can write scripts and execute it directly.
But with a simple jsx file only how do I interact with server?

Hi,
On Windows you can start the InDesignServer via the console. Then start the Extendscript Toolkit and choose "InDesignServer".

Similar Messages

  • 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

  • How do I print to a postscript file with InDesign CS6 without both extensions, .indd.ps?

    How do I print to a postscript file without an .indd extension in InDesign CS6? I choose Print, choose a print preset from my print shop and Save. The first time I tried it was blank (the Hide Extension was checked), so I tried to save and got a dialog box that said it cannot be saved as an .indd file (duh), to choose both or .ps. I chose .ps and it was fine, but every time I postscripted it gave me this dialog box until I unchecked Hide Extension. After I did that, every time I postscript it automatically saves both extensions. Not a big deal but it is annoying. I just want it to end with .ps like it used to. Any ideas on how to fix this?
    Thanks!!

    I have no idea but I am incredibly curious...why are you doing this?
    Printing to postscript is a completely archaic workflow. Export to PDF
    instead.
    Bob
    TKnudt <mailto:[email protected]>
    Tuesday, January 15, 2013 6:12 PM
    >
          How do I print to a postscript file with InDesign CS6 without
          both extensions, .indd.ps?
    created by TKnudt <http://forums.adobe.com/people/TKnudt> in
    /InDesign/ - View the full discussion
    <http://forums.adobe.com/message/4996731#4996731

  • Tagging TextFrames With InDesign Server - not showign in desktop?

    Hi all,
    Ive come across a weird issue with marking up text frames with InDesign Server (CS3) whilst processing xml rules during an xml import.
    I run the following code on desktop it works fine. When run on server, it works apart from the frames will not highlight when "Show Tagged Frames" is selected.
    (code cut for brevity)..
    //..open a new doc, import the xml file, process the rule set.
    function AddTextFrame(element)
    this.name = "AddTextFrame";
    this.xpath = "//textFrame";
    this.apply = function(element, myRuleProcessor)
    with(element)
    var frame = page.textFrames.add();
    //...frame geometry code goes here...
    markup(frame);
    As Ive stated, the code is functionally fine on desktop and server, but the tagged frames will not highlight when the document is created on server?
    Ive tried numerous work arounds (placeIntoFrame etc) but to no avail.
    Any ideas, is this a known/expected behaviour?
    Cheers, Scott

    After much local experimentation and iteration with Adobe tech support, we have a fix for Problem nr. 1: cannot define the port that works in our environment (IDS CS4 running as a service, Windows 2008 Server).
    Add this parameter to your server startup command line for each instance of InDesign Server you're running:
    -ORBendPoint giop:tcp:<serverIP>:<portNumber>
    where
    <serverIP> is the static IP of the server that is running IDS. Note: The OmniOrb docs imply that you can use the server's domain name here, but that didn't work for us. 127.0.0.1 also did not work. The IP number does work. This might help your Problem nr. 2: wrong IP address in the application IOR if you set it to the IP you want to listen on, but we have no experience with that.
    <portNumber> is the port you want IDS (via OmniOrb) to listen on. If you're running multiple instances as we are, each instance should have its own unique port number.
    I completely agree that, as an enterprise product, IDS's default behavior of boldly going where no one has gone before in your port space at each restart is not the way to play nice in a firewalled, enterprise environment. This should be documented in Adobe's Introduction to InDesign Server in the command line parameter discussions, it would have saved us a lot of time

  • "Dreamweaver is currently interacting with the server.  Since putting a file on save requires interaction with a server as well  Dreamweaver can not currently perform this task.  Please try again when the server task is complete."

    get rid of this [abusive content removed by moderator]

    Wow this is a long running thread!
    I've discovered, since having to start using check in/check out on a site with multiple editors ('put on save' being a minor version of this), that Dreamweaver is like a nosy neighbour, more concerned with what is going on outside than with your petty demands. So Dreamweaver is constantly checking to see whether any files are in use by anybody else. When it is good and ready it will allow you to interact with the server. If your connection is anything other than rocket powered you will spend ages waiting and looking at messages such as the above. It doesn't have the sense to stop and just check the file/s you want to put or get and then let you get on with it. And of course the bigger the site, the more checking it has to do. If your connection is really slow you will have the added pleasure of constant freezes, aberrant behaviour and crashes. I have this with CS4. I don't know if CS5 is any better. And don't expect any improvement on CS4. You are stuck with it.

  • CUCIMOC interaction with CAPF server

    I have cucimoc 8.0.2 registered with cucm 8.0.3 using tcp and udp. Now I want to try TLS. For this, I guess I need to make the cucimoc client interact with CAPF server to get the LSC (local significant certificate). Normally the cisco phones connect to CAPF server after the registration when the appropriate CAPF settings are configured for the phone. But the cucimoc is not initiating any attempt to contact CAPF server when I make similar configuration changes.
    Did anyone encounter similar issue and has any solution to overcome it?
    Thanks.

    CUCIMOC (a.k.a. CSF) uses certificates in its local store (which is the JRE certificate store).
    Importing certificates into JRE certificate store is not very intuitive.  You may take a look at CUCIMOC docs or open a TAC case.
    Michael
    http://htluo.blogspot.com

  • DPS integration with InDesign Server

    Is there a way to integrate DPS functionality (create, upload, share folios) with InDesign Server, e.g. through the scripting API?
    Suppose I have an automated InDesign workflow and I want to publish the result to acrobat.com. Is this possible? Is this planned for a future version?
    I found a reference to the "Folio Producer SDK" in the DPS buying guide but could find any other information about this at all...
    Thanks

    AFAIK DSP has part of the production workflow NOT inside InDesign, so also InDesign Server alone can not be used to produce a digital magazine automatically. So its not about blocking, but having a better integration of the different parts into basic InDesign.
    Whether this will happen in the near or medium to far future (CS6, CS7...) we all don't know, but if they were integrated they possibly would be available in InDesign Server API/SDK too, as the code base is pretty much the same (except for the whole Java interfacing).
    IMHO InDesign will NEVER integrate all these production steps, as DPS is a lot about multimedia production workflow. A workflow system aka Woodwing for instance therefore is a wise solution to look at. Especially, as you can start at as low as €169 monthly with Enterprise 7 for DPS integration (in the near future with Enterprise 7.5).

  • InDesign Server (via SOAP) -- Returning Binary Data: Possible or Not?

    is it possible to return binary data to soap client?
    given: myFile = File('MyFancyJpeg.jpg');
    I want to return either a base64 encoded, or hex result back to the SOAP client. (filetype, above, is totally arbitrary, by the way)
    Is InDesign server capable of something like this?

    I think so. See ww-ids-soap.pdf in the SDK. You can return to the client any value you want; the value is typed in the SOAP response. An example from that pdf of a mixed-type array response:
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope
        xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
        xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:IDSP="http://ns.adobe.com/InDesign/soap/">
        <SOAP-ENV:Body>
            <IDSP:RunScriptResponse>
                <errorNumber>0</errorNumber>
                <scriptResult>
                    <data xsi:type="IDSP:List">
                        <item><data xsi:type="xsd:string">1</data></item>
                        <item><data xsi:type="xsd:string">2</data></item>
                        <item><data xsi:type="xsd:long">10</data></item>
                        <item><data xsi:type="xsd:long">12</data></item>
                    </data>
                </scriptResult>
            </IDSP:RunScriptResponse>
        </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Jeff

  • Problem with InDesign server - Server slows down fast

    My javascript code iterates the pages of the InDesign Document and searches for the text frames with some special character style.
    I found some samples from Jongware :
    sourcelist = app.activeDocument.findText()
    and
    sourcelist = app.activeDocument.pages[p].textFrames[f].findText();
    if I use the first variant the memory goes to ca. 1.2GB (the server has 4GB), the search is completed in ca. 2 minutes but InDesign Server works incredibly slow.
    The problem is I have to find a page for each text found.
    If I use second variant the memory goes high slowly and so each iteration needs more time.
    After 300th page InDesign Server needs up to 30-40 seconds to process the page.
    (First pages are processed 3-4 per second)
    I tried several possible implementations, like
    for each page
         var actualPage = pages[i]
         for each frame
              var actualFrame = frames[i]
              var sourceList = searchText(actualFrame)
                   parseText(sourceList)
    or
    var actualPage=null,  actualFrame = null, sourceList = null;
    for each page
         actualPage = pages[i]
         for each frame
              actualFrame = frames[i]
              sourceList = searchText(actualFrame)
                   parseText(sourceList)
    I've tried functions with local variables. Nothing changes.
    Processing of the first 50 pages is really fast, but the test document has 630 pages.
    And I have no ideas how to make InDesign continue to work fast.
    Have someone had similar problem? Any ideas?

    To clarify my comment on pages:
    JavaScript objects referencing a native InDesign object have an internal representation for their "address" in the DOM, a textual form (similar to an XPath) is available via toSpecifier(). The specifier starts at the document and then follows collections (e.g. pages) and collection accessors (e.g. itemByID()) to finally reach the same object.
    You can see that the specifier of the document before and after the close/open roundtrip changes in CS5 or later (different document ID), where CS4 used a different specifier form (itemByName() for the document) . The renumbered document ID renders previous references to the same page invalid - see the isValid property. If you want to revive such a stale object reference across close/open, you can remember the page ID and use your reopened document's myDoc.pages.itemByID() method to get to the same object.
    Regarding your other performance problem: print the output of the ExtendScript helper function "$.summary()" before and after the code sequence in question, or compute the differences. You may want to precede that with two explicit calls for the garbage collection "$.gc()" - yes, double invokation seems to be more thorough. Sometimes you find memory leaks that way, for example caused by the javascript "closure" design pattern (all those "Workspace" objects).
    Dirk

  • [VB] Opening PageMaker layouts with InDesign Server

    I have numerous PageMaker 7.0 layouts that I need to open with a script running on InDesign CS4 Server.  These layouts open correctly using InDesign CS4 Desktop.  InDesign does a conversion on the layout but they do open correctly.  Does anyone know how to open these layouts from a script?
    When I attempt to open these layouts, using the Application.Open method, I get the following error:
              Cannot open the file "test.pmd".  Adobe InDesign may not support the file format, a plug-in that supports the file format may be missing.
    Any assistance you could provide would be greatly appreciated.
    Thanks,
    Sheldon

    Hi Sheldon,
    With CS4, InDesign Server no longer supports opening PageMaker files. This info is included in the Release Notes. InDesign CS4 will still open them so you could pursue a solution there.
    Regards,
    Jeffrey O'Donald
    Adobe

  • Font application interactive with Indesign

    Does anyone know of a font application that works within Indesign CS3 on Snow Leopard.
    YouControlfonts was a super duper application, but went south when Snow began falling.
    I dont necessarily want to control or manage fonts like suitcase, just be able to group fonts together
    and select them from group menu. Youcontrolfonts had a pulldown menu from the upper right corner
    that allowed selection of font and the ability to group them.
    thanks

    thanks peter.
    there is a third party program called "You Control Fonts". It lets you place an icon in the top right corner, that when
    clicked on brings up all your fonts as you have them arranged in Font Book. In collection sets, Bold sets,
    any kind of set you make in Font Book,it reflects what is in the menu. It shows all your fonts, not just a select few you
    have activated. It is the most time saving software I have every used. It interacts with ID in the fact that
    you can highlight a font within the application and change it. It also lists most recently used.  A SUPER TIME SAVER.
    Unfortunately they discontinued support with "snow leopard" and now I am stuck with having to scroll through
    all my fonts within ID to find the one I need or recently used, because ID doesnt have enough sense to know
    what people need. Apple really screws their 3rd party supporter.
    But thats what I am looking for.

  • Connect Extends Script Toolkit with InDesign Server

    Hi folks,
    I'm trying to connect my Extends Script Toolkit installed with the InDesign Server CS4 on a XServe Mac with a running InDesign Server thread. This won't work, see screenshots. Any hints on this topic? Are their any log files written by the Extends Script to solve the problem?
    Cheers Tino

    Hi Sheldon,
    With CS4, InDesign Server no longer supports opening PageMaker files. This info is included in the Release Notes. InDesign CS4 will still open them so you could pursue a solution there.
    Regards,
    Jeffrey O'Donald
    Adobe

  • Discuss Advanced Integration with InDesign Server

    This is a topic that will be presented at the May 11th-15th Creative Suite Developer Summit. Use this thread to discuss the presentation.

    AFAIK DSP has part of the production workflow NOT inside InDesign, so also InDesign Server alone can not be used to produce a digital magazine automatically. So its not about blocking, but having a better integration of the different parts into basic InDesign.
    Whether this will happen in the near or medium to far future (CS6, CS7...) we all don't know, but if they were integrated they possibly would be available in InDesign Server API/SDK too, as the code base is pretty much the same (except for the whole Java interfacing).
    IMHO InDesign will NEVER integrate all these production steps, as DPS is a lot about multimedia production workflow. A workflow system aka Woodwing for instance therefore is a wise solution to look at. Especially, as you can start at as low as €169 monthly with Enterprise 7 for DPS integration (in the near future with Enterprise 7.5).

  • Interact with indesign javascript through Jtree

    i can display indesign script files in tree view. what is my question is if i click the indesign javascript file i want
    to execute. that means i want to interact with java swing to indesign cs3. How it is possible could anyone tell me.

    Welcome to the Sun forums.
    >
    i can display indesign script files in tree view. what is my question is if i click the indesign javascript file i want
    to execute. that means i want to interact with java swing to indesign cs3. How it is possible could anyone tell me.>About the only way you will be able to get interaction between a JTree and JavaScript is to put the JTree in a JApplet and put that applet in a web page that also references the scripts.
    As far as Java/JS interaction go, look to [Real's HowTo|http://www.rgagnon.com/howto.html] (<- link) and the categories 'Java|JavaScript Interaction' & 'JavaScript|Interaction with Java'.
    Testing will be a hassle, since the AppletViewer does not support Java/JS interaction and browsers cache the classes. Not that applet development is not a PITA to start with.
    And a few points before closing:
    - All sentences should start with a single upper case letter. This helps the reader to quickly scan text, looking for ways they can help. You would not want to make it harder for people who are trying to help, would you?
    - The word 'I' should be always upper case, always.
    - ..and it is JTree, not Jtree. Please be very careful with class names so we can all be sure you refer to J2SE classes, and not some 3rd part class about which we know nothing and do not support.
    Edited by: AndrewThompson64 on Jul 6, 2009 9:19 PM

  • 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!

Maybe you are looking for

  • How to add inventory when inbound individual purchasing, not Cost of goods sold?

    Hi, Experts, I'd like to add inventory when inbound individual purchasing for sales order. Usually it adds cost of goods sold, but for client requirement, i hope i can change it to inventory instead. I've seen some description how to do it before, bu

  • HT1544 how can I reinstall the Mac OS X from scratch?

    I have an early 2008 iMac that came with Mac OS X 10.5 leopard. I have bought all os's since then, and Today I am using the most recent one, mountain lion. My question is, how can I reinstall the Mac OS X from scratch? Is there a quick way ? Or do I

  • Install from software failed AND install from DVD failed....

    I downloaded Mountain Lion from the App Store and burned a bootable disc, or so I thought, before installing. Upon installing (from the hard drive version), the hard disk failed and ML wouldn't install, nor would the drive even mount any more. (Lucki

  • Problem with national characters on windows client

    Hello there, I'am having problem with national characters on windows client. All national data stored in NVARCHAR2 colums, applications (.net) works fine, but in sqlplus: select city from test_table; - everything ok, sqlplus shows national characters

  • 1099 forms

    The 1099 form in 2007 PL11 prints one vendor to a page. The laser form available is 2 to a page. The standard layout should match "out of the box". thanks, Laura Nesteriak