Skip to main content
Known Participant
April 16, 2008
Question

Using InDesign CS3 Server / Flex / AIR / SOAP

  • April 16, 2008
  • 2 replies
  • 760 views
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
This topic has been closed for replies.

2 replies

Participant
May 25, 2008
Hi I'm a newbie and want to set up a system with Flex (web user), InDesign Server CS3 as production machine. The variable data should come from a database like MySQL or MSSQL. Any suggestions on which documents I must read?

Remon
Participating Frequently
April 21, 2008
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