Skip to main content
Administrator Guide
Last Updated: 2023-06-23
Reference: Java-to-XML Step Properties

Reference: Java-to-XML Step Properties

Common Tab

Property
XML Attribute Name
Description
Step Id
id
The unique ID of the
java-to-xml
mediation step within the assembly.
Output
output
Specifies where the
java-to-xml
mediation step directs the output. There are 5 possible values:
  • message
    : the entire message, including
    rootpart
    and attachments. This value creates a new message, effectively removing any attachments.
  • soapbody
    : the content of the SOAP body from the
    rootpart
    of the message.
  • attachment
    : a MIME attachment to the message. Specify the attachment index.
  • rootpart
    : the content of the root part of a MIME message, or if the message isn't MIME, the message itself. This value preserves any attachments on the original message.
  • variable
    : save the output as a named variable in the
    MediationContext
    .
Property
property
The name of the
MediationContext
property from which the
java-to-xml
mediation step extracts the Java objects.
Packages
packages
The semicolon separated list of Java packages required by the
java-to-xml
mediation step to convert Java objects to XML using JAXB.
Root Element Name
root-element-name
The name of the root element used for marshaling Java objects to XML.
Root Element Namespace
root-element-namespace
The namespace of the root element used for marshaling Java objects to XML.
Namespaces
namespaces
The namespaces used by your XPath expression.
XPath
xpath
The XPath expression that inserts XML into your message.

Advanced Tab

Property
XML Attribute Name
Description
Description
description
A description of the
java-to-xml
mediation step that displays in the consolidated log. You can use this feature to describe the step's function and the data on which it is operating.
Execute When
execute-when
A condition that determines whether the
java-to-xml
step executes.
XPath Version
xpath-version
Specifies whether to use XPath version 1.0, 2.0, or 3.0. Enter the value 1 for assembly versions through Workday 11. Enter 2 or 3 for assembly versions Workday 12 onwards.
You can enable Workday to set the version dynamically using an MVEL template that inserts a system property value. Example:
@{props.get('the_version')}
.