2022.2

Table Of Contents
Instead of using the HTTP Server Input task, you should consider using the NodeJS Server Input task
which is more secure, more up-to-date and more standardized. For more information see: "NodeJS
Server Input" on page328.
Note: While you can insert the HTTP Server Input task anywhere in your process as a sec-
ondary input task, in reality the HTTP Server Input task will only function when used as the initial
input, as it is triggered when PlanetPress Workflow HTTP Server receives a request and passes
it on to the correct task.
Note: Athough Workflow can serve both static and dynamic resources to a web browser, it is not
meant to be used as a fully featured web server as it is not built for responsiveness nor guar-
anteed uptime. It is recommended to use a common web server (for example, IIS or Apache) to
serve your contents and to let Workflow process things only it can do.
For more information on how to serve HTML and PDF generated by Connect through IIS, watch
the Connect with Evie - IIS series.
Caution: It is highly recommended to make all processes using the HTTP Server Input task
self-replicating and to reduce their polling interval in the "Process properties" on page724.
Examples
This task is put into effect in the following example processes:
l
HTTP PDF Invoice Request
l
HTTP Brochure Request
l
Capture Web Manager Workflow
Note that Capture can only be used with PlanetPress Suite.
Input
The HTTP Server Input task does not, by itself, capture any files. Neither does it directly wait for
requests to be received. Actually, it is the HTTP service that receives the requests and places them in a
specific location on the drive. When a request is received, the HTTP Server Input polls that location and
finds the requests and all attachments. It will always pick up the "oldest" request received.
The request can contain one or more files, one being an XML file containing the request information as
well as any GET or POST variables that were received within this request. Other files are POST attach-
ments.
Note: By default, the request XML also contains a CDATA section which contains the raw input
data, effectively doubling the size of the incoming file. Due to technical restrictions, the incoming
Page 603