7.4

Table Of Contents
Common Errors
Though some error messages are specific to a task in particular, others may apply to any and all tasks because they are
related more to the system than to PlanetPress itself. Some examples would be W3813, W3830, W3991, W4005. These cor-
respond to issues such as not having any space to write files, permission errors on folders or files, etc.
HTTP Server Input
HTTP Server input tasks are used to receive HTTP requests made via GET or POST commands and to send replies to the
servers from which the requests were made. The HTTP server supports both http and https. For HTTPSSupport information,
see HTTP Server Input User Options.
While you can insert the HTTPServer Input Task anywhere in your process as a secondary input task, in reality the
HTTPServer Input Task will only function when used as the initial input, as it is triggered when the PlanetPress Suite
Workflow Tools HTTPServer receives a request and passes it on to the correct task.
Input
The HTTPServer Input task does not, by itself, capture any files. Neither does it directly wait for requests to be received. Actu-
ally, it is the HTTPservice 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attachments.
Processing
Depending on the options chosen in the HTTPServer Input task properties, the task may choose to ignore some of the files.
For example, using the "Do not include XMLenvelope"means that only the POSTattachments will be used in the process, the
XMLfile will be discarded. Attachments are always saved on disk in a specific location, which is accessible either directly in the
XML or directly as a data file through the "Loop each attachment as data file"option.
Output
First, the output inside the process itself is, depending on the selected options, an XMLrequest files, POSTAttachments files,
either one or both.
If the "Send Immediate Response to client"option is selected, the response file is sent back right away and the involvement of
the input task ends then. However, if this option is not checked, it means there is a second output that comes out of the
HTTPServer Input task:The last output generated by PlanetPwress Watch is sent back to the initial input, which is returned
back to the client.
Starting in version 7.2 of PlanetPress Suite, you can now serve static resources through PlanetPress, which is espe-
cially useful for images, CSSand Javascript files. See HTTPServer Input 2 User Options.
HTTP Server input task properties are as follows:
l HTTP action: Enter the name of the action requested of PlanetPressSuite Workflow Tools by the client. This name
corresponds to the URLthat the client will be accessing. For example, if you enter "MakePDF" here, you could trigger
the process by accessing http://127.0.0.1:8080/MakePDF . This is also what your HTMLForm's action should be.
l MIME Type: Select the MIME type that best suits the files PlanetPressSuite Workflow Tools will be receiving as input.