Entag Service (com.ibi.agents.XDEntagAgent)

Syntax:

com.ibi.agents.XDEntagAgent

iIT Service Object:

misc: Entag Agent

Description:

Adds an element tag around a flat document, and optionally base64 encodes the document. If the input document is not flat, this service is ignored.

Parameters:

Parameter

Description

Tag Name *

The name of the tag which wraps the data.

Base64 Encoding *

Determines whether the data requires Base64 encoding, so that valid XML could be formed. Select true or false from the drop-down list.

Edges:

The following table lists the available line edges for the Entag Service (com.ibi.agents.XDEntagAgent).

Line Edge

Description

OnError

Error

OnSuccess

Success

OnFailure

Failure

OnCustom

  • OnError
  • OnSuccess
  • OnFailure
  • fail_parse

Example:

If you run this service with picture as a value for the Tag Name parameter, Base64 Encoding set to true, and incoming data as <test/>, the following result is returned:

<?xml version="1.0" encoding="UTF-8" ?>
<picture>PFRlc3QvPg==</picture>

If Base64 Encoding is set to false, the result would be:

<picture><test/></picture>