7.0

Table Of Contents
of the PlanetPress Suite process (for instance, if the process creates a PDF and sets it as the current job
file, the PDF is the file that gets returned to the calling SOAP client).
Notes
The SubmitJob method only returns a file if the PlanetPress Suite process contains a SOAP Input task.
If ReturnJobFile is set to true, the schedule options of the process should be set to a pooling lower
than four seconds, so the client application gets a timely response.
To return the file, the process must be completed before the timeout of the server occurs. The Timeout
option can be set in your PlanetPress Suite Workflow Tool preferences.
12.3.2 SOAP API - PostJob
Syntax
PostJob (File, PostJobInfStruc , Username, Password) : PostJobResult
Description
The PostJob method allows users to remotely submit files to PlanetPress Suite Workflow Tools by using the
Resubmit from here feature. The main advantage of this feature is that it allows a user to specify a starting
task index from which the File is to be processed.
Parameters
File – base64Binary. This is an array of byte base64 encoded (see http://en.wikipedia.org/wiki/Base64).
PostJobInfStruc – Structure containing any required information to prepare the file for resubmission
into a PlanetPress Suite process.
Username – String containing the username.
Password – String containing the password. This value is case sensitive.
Return Value
PostjobResult - Structure containing the following information:
Success – Integer indicating the Success/Error level of the operation. A result of 0 means that the
operation was successful.
Message – String containing text information about the Success status.
PostjobInfStruc – See point PostJobInfoStruct for details.
Notes
The task index can be retrieved by using the GetProcessTaskList method. See point
GetProcessTaskList for details.
The PostJob method can never return a file to the calling application.
12.3.3 SOAP API - GetProcessList
Syntax
GetProcessList (Username, Password) : GetProcessListResult
Description
The GetProcessList function allows SOAP clients to request the list of available PlanetPress Suite processes,
Using Scripts - SOAP Server API Reference
Objectif Lune Inc. © 2009 230