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

Reference: XML-to-JSON Step Properties

Common Tab

Property
XML Attribute Name
Description
Step Id
id
The unique ID of the
xml-to-json
mediation step within the assembly.
Input
input
Specifies where the
xml-to-json
mediation step obtains data as input. There are 5 possible values:
  • message
    : the entire message, including
    rootpart
    and attachments.
  • soapbody
    : the content of the SOAP body from the
    rootpart
    of the message. Only applicable when the input contains a SOAP message.
  • attachment
    : a MIME attachment within the message. You must specify the attachment index.
  • rootpart
    : the content of the root part of a MIME message. If the message isn't MIME, the entire message is selected.
  • variable
    : use a named variable from the
    MediationContext
    .
Output
output
Specifies where the
xml-to-json
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. You must 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
    .
Schema URL
schema-url
Specifies a relative URL so that the
xml-to-json
mediation step retrieves the XML schema file as a resource within the assembly web service project.
Schema
schema
Specifies where the
xml-to-json
step obtains the XML schema. There are 5 possible values:
  • message
  • soapbody
  • attachment
  • rootpart
  • variable
Ignore Attributes
ignore-attributes
Specifies whether the
xml-to-json
step ignores attributes when converting XML documents to JSON.

Advanced Tab

Property
XML Attribute Name
Description
Description
description
A description of the
xml-to-json
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
xml-to-json
step executes.