This adapter creates random numbers based on the specified configuration.
Properties
|
|
Defines the operation executed by the adapter Possible values:
|
Parameters
|
|
Main adapter class (do not change!) Possible values: de.softproject.integration.adapter.randomNumberGenerator.RandomNumberGenerator: Main class (default) |
|
|
Minimum value from which a random number is to be generated Possible values: any positive number, e.g. (information) Mustn't be negative or |
|
|
Maximum value from which a random number is to be generated Possible values: any positive number, e.g. (information) Mustn't be negative or |
|
|
Number of random numbers to be generated Possible values: any positive number, e.g. (information) Mustn't be negative or |
|
|
XPath to the desired XML element (information) Only important for the operation Possible values: any XPath expression, e.g. |
|
|
Name of the XML element in which the random number is to be generated. (information) Only important for the operation Possible values: Any name for an XML element, e.g. |
Status values
|
|
The adapter operation was executed successfully and the output contains an XML document with the random number(s) |
|
|
An error occurred during execution
|
Input
The adapter expects an XML document as input for the operation SetRandomNumbers.
Output
Depending on the operation, the adapter outputs the following results:
-
Operation
Generate: XML document with the generated random number(s) -
Operation
SetRandomNumbers: XML document with added random number(s)
<?xml version="1.0" encoding="UTF-8">
<Data>
<random>28</random>
<random>6</random>
<random>10</random>
</Data>