Object to XML transofrmer

Object to XML transofrmer

Object to XML transformer

The Object To XML transformer transforms the provided object to XML using JAXB. The provided object has to be serializable.

In the table below, you will find an explanation about these properties. All attributes with a ‘*’ are mandatory.

Attribute

Description

Name*

By default, we fill this out with the technical ‘tag’, followed by a serial number. Changing the name is optional.

Enabled

Set this value to true, if you want this service to be enabled.

MessagePart-In

Name of the MessagePart in a ConnectMessage where the content of the file is being stored.

MessagePart-Out

Name of the MessagePart in a ConnectMessage where the content of the file is being stored.

Packages*

List of Java packages, seperated by a semicolon, to scan for JAXB pojos.

Wrapper Class

Class to be used as wrapper. This class should contain a constructor containing a parameter that matches the type of incoming object.

Result Type

Result type to return. Either TEXT (String) or DOCUMENT (XML Document).

 

In order to successfully combine the use of these services with our Analyze functionality, it is required to place the jar file containing the classes required for marshaling in to the Agent's jars/endorsed directory, rather than placing it in the Resources of the bundle.