7.0

Table Of Contents
12.3 SOAP Server API Reference
PlanetPress Suite offers a SOAP server API Reference allowing jobs to be submitted from third party
application using the SOAP protocol. Remember that SOAP stands for Simple Object Access Protocol.
While there are multiple possibilities for solutions using a SOAP server implementation, the SOAP Server API
Reference is specifically for submitting jobs from a SOAP client. It implements five methods that will allow
SOAP clients to submit jobs and get information from the PlanetPress Suite Workflow Tool executing them.
Note that PlanetPress Suite Workflow Tools already come with a SOAP client plugin, which can be used as an
input, action or output; this task was renamed SOAP Legacy Client.
Since the SOAP Server API Reference is primarily targeted at programmers or systems engineers, it is rather
technical.
Related topics:
SOAP Client Task Properties (Page 143)
SOAP Input Task Properties (Page 0)
SOAP API - SubmitJob (Page 229)
SOAP API - PostJob (Page 230)
SOAP API - GetProcessList (Page 230)
SOAP API - GetProcessTaskList (Page 231)
SOAP API - GetSOAPProcessList (Page 232)
SOAP API - SubmitJobInfStruc (Page 233)
SOAP API - PostJobInfStruc (Page 232)
12.3.1 SOAP API - SubmitJob
Syntax
SubmitJob (File, SubmitJobInfStruc , ReturnJobFile, Username, Password) : SubmitJobResult
Description
The SubmitJob method allows users to remotely submit files to their PlanetPress Suite Workflow Tool from a
SOAP client. The SOAP client has the option to wait for a response file from the PlanetPress Suite Workflow
Tools SOAP server.
Arguments
File – base64Binary. This is an array of byte base64 encoded (see http://en.wikipedia.org/wiki/Base64).
SubmitJobInfStruc – Structure containing any required information to prepare the file for a valid
insertion into a PlanetPress Suite process.
ReturnJobFile – Boolean value. When true, the PlanetPress Suite Workflow Tools SOAP server returns
the job file. When false, there no file is returned to the SOAP client. (For example: when submitting a
job for print, there is no need to return a file)
Username – String containing the username.
Password – String containing the password. This value is case sensitive.
Return Value
SubmitJobResult - Structure containing the following information:
Success – Integer indicating the Success/Error level of the operation. A result of 0 means the operation
was successful.
Message – String containing text information about the Success/Failure status.
SubmitJobInfStruc – See point SubmitJobInfStruc for details.
ResultFile – base64Binary. If Success is different than 0 or the ReturnJobFile was set to False in the
initial call, no file is returned. Otherwise, ResultFile contains the job file, as it existed at the completion
Objectif Lune Inc. © 2009 229