UUID Generator
This adapter generates universal unique identifiers (UUIDs).
Properties
Operation | Defines the operation executed by the adapter Possible values:
|
Parameters
Adapter | Main adapter class (do not change!) Possible values: de.softproject.integration.adapter.uuid.UuidGeneratorAdapter: Main class (default) |
| Number of the UUIDs to be generated Possible values: Any positive number, e. g. |
generateBraces | Set generated UUIDs in braces Possible values:
|
xPath | XPath to the desired XML element Possible values: Any XPath expression, e. g. |
elementName | Name of the XML element containing the UUID to be generated. The element may already exist and will be overwritten, if necessary. Possible values: Any XML element name, e. g. |
Status values
1 | The adapter has been executed successfully and the output contains an XML document with the UUID(s) |
-1 | The adapter execution failed Possible reasons:
|
Input
The adapter expects an XML document for the operation Generate
.
Output
The output depends on the selected operation:
Generate
: the adapter outputs an XML document with the generated UUID(s)SetUUID
: the adapter outputs an XML document with the added UUID(s)Sample output
XML<?xml version="1.0" encoding="UTF-8" <Data> <UUID>de41435e-f0a2-4fea-bdf7-9c8a261f8948</UUID> <UUID>fdeb6f6f-1abb-4d34-a405-a8f9a893e0ea</UUID> <UUID>d124a7fe-17d1-4850-a49c-6bdbe92a4c3c</UUID> </Data>