User Tools

Site Tools


HTTPRequestHandler

Description

This handler sends an HTTP message with the passed parameters. If the parameter ADDBLOGARTIKEL=true is set, then the result is attached to the instance as a note.


Action Class

com.dooris.bpm.actionhandler.HTTPRequestHandler



Event Type

any

Action Name

any

Parameter


HTTP_HOSTNAME

HTTP_HOSTNAME contains the Url, to which the parameters should be sent.

POST_PARAMETER

Parameters that are to be sent. The various parameters are separated by the entry NEXTPARAMETER

GET_PARAMETER

Parameters that are to be sent. The various parameters are separated by the entry NEXTPARAMETER.

!! Attention: Only one of the two methods is to be used. The preferred method is dependent on the type of data transfer. Sensitive data should preferably be set using POST_PARAMETER.


HTTPRESPONSESTART

Here, the transaction results are stored.


LOGRESPONSE

Tells if the reply to the request should be logged out. Set to true by default.


LOGREQUEST

Tells if the request should be logged. Set to true by default.


ADDBLOGARTICLE

Tells if the reply should be attached to the process as a note. Set to true by default.


Example

The following example demonstrates the sending of a request to generate a new user. Using the method POST_PARAMETER, user data such as the user ID, name, and e-mail are passed.
The content of the POST_PARAMETER method also contains HTML-Code (<br /> Days). In order to avoid transaction errors, the method content must be embedded in the <![CDATA[…]] add-on.
The result of the data transmission is stored in HTTPRESPONSEART.

en/software/tim/actionhandler/httprequesthandler.txt · Last modified: 2017/10/09 12:05 by Julian Le