Skip to content

Instantly share code, notes, and snippets.

@tomtaylor
Created June 19, 2011 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tomtaylor/1034317 to your computer and use it in GitHub Desktop.
Save tomtaylor/1034317 to your computer and use it in GitHub Desktop.
InDesign Server WSDL
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="Service"
targetNamespace="http://localhost:80/Service.wsdl"
xmlns:tns="http://localhost:80/Service.wsdl"
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/"
xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:MIME="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:DIME="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/"
xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<schema targetNamespace="http://ns.adobe.com/InDesign/soap/"
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/"
xmlns="http://www.w3.org/2001/XMLSchema"
elementFormDefault="unqualified"
attributeFormDefault="unqualified">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<simpleType name="Enumeration">
<restriction base="xsd:long">
</restriction>
</simpleType>
<simpleType name="Unit">
<restriction base="xsd:double">
</restriction>
</simpleType>
<complexType name="IDSP-ScriptArg">
<sequence>
<element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<element name="value" type="xsd:string" minOccurs="1" maxOccurs="1"/>
</sequence>
</complexType>
<complexType name="RunScriptParameters">
<sequence>
<element name="scriptText" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<element name="scriptLanguage" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<element name="scriptFile" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<element name="scriptArgs" type="IDSP:IDSP-ScriptArg" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
<complexType name="Data">
<sequence>
<element name="data" type="xsd:anyType" minOccurs="1" maxOccurs="1" nillable="false"/>
</sequence>
</complexType>
<complexType name="List">
<sequence>
<element name="item" type="IDSP:Data" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</sequence>
</complexType>
<complexType name="Object">
<sequence>
<element name="specifierData" type="xsd:anyType" minOccurs="1" maxOccurs="1" nillable="false"/>
<element name="objectType" type="xsd:unsignedLong" minOccurs="1" maxOccurs="1"/>
<element name="specifierForm" type="xsd:unsignedLong" minOccurs="1" maxOccurs="1"/>
<element name="start" type="IDSP:Object" minOccurs="0" maxOccurs="1" nillable="true"/>
<element name="end" type="IDSP:Object" minOccurs="0" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
<complexType name="ObjectList">
<sequence>
<element name="item" type="IDSP:Object" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</sequence>
</complexType>
<complexType name="Field">
<sequence>
<element name="id" type="xsd:unsignedLong" minOccurs="1" maxOccurs="1"/>
<element name="data" type="IDSP:Data" minOccurs="0" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
<complexType name="Record">
<sequence>
<element name="item" type="IDSP:Field" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</sequence>
</complexType>
<!-- operation request element -->
<element name="RunScript">
<complexType>
<sequence>
<element name="runScriptParameters" type="IDSP:RunScriptParameters" minOccurs="0" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
</element>
<!-- operation response element -->
<element name="RunScriptResponse">
<complexType>
<sequence>
<element name="errorNumber" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<element name="errorString" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<element name="scriptResult" type="IDSP:Data" minOccurs="0" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
</element>
</schema>
</types>
<message name="RunScript">
<part name="parameters" element="IDSP:RunScript"/>
</message>
<message name="RunScriptResponse">
<part name="parameters" element="IDSP:RunScriptResponse"/>
</message>
<portType name="ServicePortType">
<operation name="RunScript">
<documentation>Service definition of function IDSP__RunScript</documentation>
<input message="tns:RunScript"/>
<output message="tns:RunScriptResponse"/>
</operation>
</portType>
<binding name="Service" type="tns:ServicePortType">
<SOAP:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="RunScript">
<SOAP:operation soapAction=""/>
<input>
<SOAP:body parts="parameters" use="literal"/>
</input>
<output>
<SOAP:body parts="parameters" use="literal"/>
</output>
</operation>
</binding>
<service name="Service">
<documentation>gSOAP 2.7.8c generated service definition</documentation>
<port name="Service" binding="tns:Service">
<SOAP:address location="http://localhost:18555"/>
</port>
</service>
</definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment