Using InDesign CS3 Server / Flex / AIR / SOAP

Hi All,
I want to build a user interface for InDesign Server with FlexBuilder. I have built a test project that works well if InDesign Server and the Flex program are located on the same machine. I press a button in the UI and then via the RunScript command a JavaScript on InDesign Server is started.
But when I try to run the same on two different machines the Flex project returns with an error, so as if InDesign Server isn't there at all. For SOAP I use the IDSP.wsdl from the SDK. I have changed the address localhost to 10.0.0.33, but that seems not to be enough to make SOAP work. Maybe there are other keys in the IDSP.wsdl that must be edited. Does someone have an idea or an example ?
Wolfgang

I am having success across machines using http:
var ws:WebService = new WebService();
ws.loadWSDL("http://123.45.67.890:12345/service?wsdl");
ws.endpointURI = "http://123.45.67.890:12345";
ws.RunScript(params);
Note that I have to explicitly set the endpointURI to override the "localhost" default contained in the http version of the WSDL.
Also note that the port number is required.
In addition, you may need to change security settings:
Assuming your swf is local, set your swf's sandbox type to "localTrusted" by setting security permissions for your swf:
Use Global Securtiy Settings Panel, and add your IDS machine to the list of trusted URLs
OR, add a config file to FlashPlayerTrust on the local machine.
Here's a great article:
http://www.adobe.com/devnet/flashplayer/articles/flash_player_8_security.pdf
Hope this helps,
Susan

Similar Messages

  • [IDS CS3]A Bug of InDesign CS3 Server?

    Hi, all
    I'm using SOAP to run InDesign CS3 Server scripts, and I found TestClient doesn't work with option "-server". When I want to run a file on the server machine, it always returns an error number 44 to me.
    My same tests on InDesign CS2 Server work fine, so I think it maybe a bug of InDesign CS3 server.
    Anybody also working on InDesign CS3 Server? Thanks very much!
    Nicole

    I am using InDesign CS3 Server and testclient.
    I can use -server parameter with testclient, it works fine.
    I don't know why you cannot.

  • Error Installing InDesign CS3 Server on Windows Server 2008 R2 64BIT

    Hello there-
    I'm trying to install InDesign CS3 Server on Windows Server 2008 R2 64BIT (x64) Edition, however, we get a failure indication on the installer. Before, we have installed it properly on Windows Server 2008 R2 32BIT (x32) but some how we cannot proceed on a x64 box.
    Is there any limitation on this sense? Any documentation about it?
    Thanks and appreciate your answers.
    Regards,
    Gustavo Ortega
    Software Engineer

    Hello,
    Have you followed these recommendations from the installation guide ( Installation Guide u2013 SAP Content Server on Windows 2008 ) :
    Note: In the IIS 7.0/7.5, all the roles are not selected during the installation by default,
    Please make sure all the below roles are included and IIS 7.0/7.5 is installed.
    Roles needed in IIS 7.0/IIS 7.5.
    Common HTTP Features
    Static Content
    Default Document
    Directory Browsing
    HTTP Errors
    HTTP Redirection
    Application Development
    ISAPI Extensions
    ISAPI Filters
    Health and Diagnostics
    HTTP Logging
    Logging Tools
    Request Monitor
    Tracing
    Custom Logging
    ODBC Logging
    Security
    Basic Authentication
    Windows Authentication
    Request Filtering
    Note : Anonymous Authentication should be enabled.
    Performance
    Static content Compression
    Dynamic Content Compression
    Management Tools
    IIS Management Console
    IIS Management Scripts and Tools
    Management Service
    IIS 6 Management Compatibility
    IIS 6 Metabase compatibility
    IIS 6 WMI Compatibility
    IIS 6 Scripting Tools
    IIS 6 Management Console
    Note: There is a File Upload limitation in IIS 7 on Windows 2008 Server, IIS will reject any file that is
    larger than 30 MB. This is a default limitation of IIS. You can increase the maximum file size by
    setting the parameter maxAllowedContentLength in the file ApplicationHost.config.
    The following command can be used to set the parameter from the command prompt, please
    change the directory to Windows\System32\inetserv and then execute the command.
    appcmd setconfig /section:requestFiltering/requestLimits.maxAllowedContentLength:150000000
    The value is only an example, in this case the upload limit is set to 150MB.Server has to be restarted
    after execution of this command.
    Also, are you using Maxdb to store the files or is it a "flat files" content server  ?
    HTH.
    Steve.

  • Problem in running Indesign CS3 Server..............

    Hi,
    I Have windows server 2003 Ent. Edition. with sp2. & Dot net 2.0.i have installed Indesign CS3 Server & its installed completely but when i run indesignserver.exe it shows error that "indesign server not configured properly".& if i start indesign server service this shows error ...."indesign server service not run on Local computer"......
    then i found that indesign server service needs Dot Net 2.0 SP1 so i haev installed that too but the same problem found.
    plzz help me out to run indesign server. i need this as soon as possible.....
    Thanks

    As you know CORBA is all about distributed architectures. So your approach should work. We put the notes in the documentation because we did not test the configuration you are using. Though there shouldn't be any problems, we just didn't feel comfortable claiming support for this configuration without testing against it.

  • InDesign CS3 Server - Support for Standard ECMA-357, ECMAScript for XML (E4X) Specification

    Does InDesign CS3 Server fully support the XML standards outlined by ECMA in 'Standard ECMA-357 ECMAScript for XML (E4X) Specification'?
    http://www.ecma-international.org/publications/standards/Ecma-357.htm

    Thanks Michael, for your prompt reply.
    I can see that some of the XML library/functions are available in the ExtendScript Editor - but I just wanted to make sure that I'm not missing something.
    Thanks again,
    Carl

  • InDesign CS3 Server  - Enterprise Solution Options

    Does InDesign CS3 Server offer an option to run several, separate instances on multiple, dedicated servers - each configured with an unique IP & port number?
    Basically - has InDesign CS3 Server built-in capabilities (mode/configuration options) to distribute and handle server requests to multiple server nodes (external, physical boxes)?

    There is currently no built-in support for distributing server requests across multiple server nodes.

  • How to download latest InDesign CS3 Server Installer?

    Hi there,
    Anyone can help me point to the right direction, how to download the latest InDesign CS3 Server Installer (without the error).?
    been looking for couple of days in this adobe site, but nothing found.
    Thank you.
    Regards
    Jimmy Harjadi

    I would guess you'll need to contact customer service. CS3 products are no longer posted as demo downloads. InDesign server is a licensed product, and presumably if you bought the license you were given media or a link at that time. If you've lost that, Customer service would be th only ones who can help.

  • Why is Merge into single pdf using InDesign CS3 and not CS4 ?

    I'm new to this so the question may be trivial, but it beats me:
    I've created some InDesign files in CS4 and want to combine them into one PDF. So I opened Acrobat 9 Pro and
    navigated to "Merge files into single pdf". I chose the CS4 InDesign files to Add and clicked the Combine Files button.
    BUT, this starts up InDesign CS3 and not InDesign CS4 and returns a pop-up saying "unidentified error".
    Why is starting CS3 InDesign and not CS4, and what is the "unidentified" error ! ?
    As background I intially installed CS3 and then updated to CS4, leaving the CS3 applications intact. When I initially
    bought CS3, just before CS4 was released I may have created pdfs from InDesign as an experiment, but it is possible I have not done this
    since upgrading to CS4.
    Thanks for any help

    Thanks Michael, I was not aware of quality issues. Actually this is not really significant for my usage this time. What I'm doing is just using ID to capture notes/images/links etc in several free format ID documents. I then planned to merge them quickly into one pdf using Acrobat. I can easily shuffle the file order around to create a handy portable pdf reference document with the Merge feature.
    Doing something similar from ID seemed to me to require me to create pdfs for each ID doc and them to merge them in Acrobat. I did start to write a simple script to do this in ID, but I then realised that I wanted the ordering to vary and the ID files would likely to change. Then I found the merge and bingo, that solved it..... Well it solved it on another CS4 installation that had never seen CS3, but not on my machine which had been upgraded from CS3.
    I tried looking in the registry for obvious entries that might point Acrobat to use ID CS3 rather than CS4, but couldn't spot anything. I wonder if there is something buried in there ?
    Thanks again for helping
    Regards.

  • PDF with comments crashing, using InDesign CS3

    I'm using OS10.6 and switching back and forth between Acrobat Pro 9.3.4 and InDesign CS3 5.0.4.  I have Firefox running too, as well as Bridge and Word.
    The PDF was originally made by me.  I email it to my client and she adds comments using her Windows PC - I don't know any more details.  She then Saves As and emails back to me.
    I then open the PDF with comments and start to work through them, making amendments in InDesign, and then marking the comment with a checkmark.  The PDF seems to randomly crash - sometimes it will work fine for a while, sometimes it just won't and crashes each time I open it.  As a result of this random crashing, I'm saving after every comment I process to keep track of what comments I've done.  (EDIT) Sometimes after the crash none of the comments are checked, despite me checking them and saving the file.  V frustrating and time consuming.
    Any ideas??  Thanks.
    Message was edited by: agreen01

    There is a feature in interactive PDF called Show/Hide fields which may or may not give you what you want. You can create a button of an image or other object which will make another object (button) appear. Do a Google search on "Show Hide Field InDesign Tutorial"

  • Should I be able to use InDesign CS3 on both partitions of my Mac -- Yosemite & Snow Leopard?

    I've just had to upgrade my OS to 10.10.2 Yosemite from 10.6.8 Snow Leopard. I ended up having to partition my computer so I could still run 10.6.8 because some of my files were not making the transition well, and I only planned on keeping the extra partition on it until I had certain files converted, but now I find that InDesign on Yosemite won't open my old Pagemaker files that I'm still having to try to use and convert to InDesign. So I figured that I could just boot up in 10.6.8 and convert whatever files I needed, then go back to Yosemite. Unfortunately, for some reason InDesign won't open in 10.6.8 now, telling me that I either need to reinstall or call the Adobe support tech. Does anybody out there know whether it will work OK if I just simply reinstall InDesign on the old partition, and also, will it still work OK on both partitions? I’m going to have to be able to use InDesign on both for at least a few months while I go through all my old files on 10.6.8 and try to salvage however much I can, while at the same time doing any current work on Yosemite. Any help that anyone can give me will be very gratefully appreciated!

    Hi P Spier, thanks for your response. Here's the error message I get when I try to open it in 10.6.8. And no I haven't tried trashing the prefs, but I guess I'll need to do that. Oops, it won't let me add a screen shot, so here's what it says: "Licensing for this product has stopped working. You cannot use this product at this time. You must repair the problem by uninstalling and then reinstalling this product or contacting your IT administrator or Adobe customer support for help." So if I just uninstall and reinstall the CS3 on 10.6.8 like it says, do you know if that will make it stop working on Yosemite? Or, as an alternative, if I were to upgrade to CS5 for Yosemite, will I be able to reinstall the old CS3 on 10.6.8 and have it still work? I really need to use it on both platforms. Any help you can give will be greatly appreciated!

  • Creating Hyperlink using InDesign CS6 Server

    Hello,
    Could anyone help me to automate hyperlink generation for the web related contents, I can acheive this using desktop, but not in InDesign CS6 server, since 'selection' property is not supporting by the server version.
    Thanks,
    Praveen

    As i understand, if your panels at the same height you can create a new document with 6 page with the  size scaled to 25%, then on page panel: unckeck AllowDocumet Pages to Shuffle. Drag the pages to be side to side, and that make the total width of you mural
    When you export to pdf, on general tab check on all pages & spreads

  • Developing Iphone App using Flash Builder and Flex Air Mobile

    I started developing an Iphone app using the trial version of Flash Builder and was pretty impressed with how easy it was, then i hit problems:
    Trying to submit my app, I was getting invalid binary, using google i tracked this down to a change in the Apple App Store meaning that all apps needed to have native iphone 5 support, which meant updating to Air SDK 3.7
    Updating to AIR SDK 3.7 was a nightmare (mainly as a result of my failure to read the small print)
    Once I got SDK 3.7 to  work with flash builder / flex mobile i though i was there.
    However now i can produce a fast build but everytime i try and produce a standard / production build i get strange errors (air 3.8 does the same).
    My Question is - before i actually buy Flash Builder has anybody actually achieved the following:
         Building an Iphone App using:
         Flash Builder 4.7    (running on OSX)
         Flex Mobile 4.6
         Air 3.7
    If so how ?
    cheers
    Toby

    Thanks for your reply, its nice to know its not just me.
    the error i got when submitting to the App store where due to native support for IPHONE 5 which is now mandatory (from May 1st), looking around the internet the common soloution seemed to be upgrading to Air 3.7.
    The strange erorrs on 3.7 revolve around compiling a standard / production build (fast build works fine)
    the error is always the same (snippet shown below):
    Error occurred while packaging the application:
    Undefined symbols for architecture armv7:
      "__ZN7avmplus8Debugger9debugLineEi", referenced from:
          __ZN7avmplus9MethodEnv9debugExitEPNS_13CallStackNodeE in AOTBuildOutput-4.o
          __ZN7avmplus11BaseExecMgr22debugEnterExitWrapperNEPNS_9MethodEnvEiPj in AOTBuildOutput-4.o
    I have completly failed to work out why, but my gut feeling is its something to do with how the mac is compiling the code in standard build and unable to find a library it needs.
    cheers
    Toby

  • Printing CMYK using InDesign CS3

    I am currently using an Epson SX200 to print CMYK from Adobe CS3 InDesign but it comes out in RGB.
    The trouble is when I select the 'Output' folder I cannot choose the Composite CMYK selector as it is 'greyed out'! Only the RGB is available.
    To test this I attempted to print a 100% Cyan box but when it printed it had Magenta in it.
    Please, how can I get my InDesign to print in CMYK.
    I have gone through many Preferences but all the CMYK options appear to be 'greyed out'!
    Thanks,

    merton69 wrote:
    …I presumed that because my Epson is a CYMK printer…
    No, it is NOT.  Your printer is not a "CMYK printer" but an RGB printer that happens to use a combination of various cyan, magenta, yellow and black ink cartridges to print your RGB images.
    The printer expects to receive RGB images, and anytime anyone sends it a CMYK image, the printer driver converts it to RGB of the fly.  Always.
    merton69 wrote:
    …With most of my printing the colour never seems to match what is intended?…
    No, not if you're sending it CMY images.  Your output will NEVER match your images that way. 
    Start learning about color management here:
    http://www.gballard.net/psd/cmstheory.html
    And keep this in mind:
    The printer driver converts your CMYK images to RGB of the fly.  Always.
    Wo Tai Lao Le
    我太老了

  • How to make muliple column listbox using indesign cs3

    Hi,    
         I want to create list box having muliple rows and columns. I tried with one cloumn using tree view and that is working fine. How to create multiple column listbox using tree view. I need a code snippet for muliple rows and columns using treeview.
    Thanks
    K.Saravanan

    Download the CS6 SDK. Under the "open" folder you will find the code for the LinksUI panel. This is the closest you will get to a multicolumn list box in C++, if you want to stay in C++.
    The tree view widget support dynamic load of sub nodes in a tree. Also it will only request widgets to drawn when they are in view (as far as I remember).

  • 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