Skip to content

Provides a simple python wrapper for the InDesign Server SOAP service. This has been tested on InDesign Server CS5.5

License

Notifications You must be signed in to change notification settings

andrewschoen/indesign-server-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InDesign Server SOAP Client

A simple python wrapper for the InDesign Server SOAP service for running InDesign scripts remotely.

Dependancies

  • suds>=0.4

Sample Usage

from indesign_server.client import InDesignServerClient
wsdl = "http://myserver.com/service?wsdl"
client = InDesignServerClient(wsdl)
client.run_script("c:\path\to\script.jsx", script_language="javascript",
            script_args={"arg0":"some value"})

Notes

The version of InDesign server I'm using (CS5.5) did not provide the correct endpoint in the generated wsdl file. You can use the host argument of InDesignServerClient to set the correct endpoint.

Also, timeout errors are common because InDesign server sometimes performs long running tasks. Set the timeout argument of InDesignServerClient to compensate.

from indesign_server.client import InDesignServerClient
wsdl = "http://myserver.com/service?wsdl"
client = InDesignServerClient(wsdl, host="http://myserver.com", timeout=500)

About

Provides a simple python wrapper for the InDesign Server SOAP service. This has been tested on InDesign Server CS5.5

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages