Skip to main content
LinkedIn
Copied!

Table of Contents

Configuring the XSD type for an XML Stream rule

Define the XSD type details for a tree node in an XML Stream rule.

  1. Optional:

    On the Type tab of the User Data window, in the XSD Base Type, specify a built-in XSD primitive type.

    This value does not impact stream generation unless the Use SOAP 1.1 encoding option on the XML tab is selected. If this option is selected, the value is added to the element tag of the selected node as an xsi:type attribute.
    XSD date, dateTime, and time values use a special formatting that is distinct from Pega Date, DateTime, and TimeOfDay property value formatting. For these XSD types, the value specified in this field alters stream rule generation to convert the property value to the XSD format before adding it to the XML stream.
  2. In the Type Name field, specify the custom type name used to define this node.

    This value does not impact stream generation unless the Use SOAP 1.1 encoding option on the XML tab is selected. If this option is selected, the value is added to the element tag of the selected node as an xsi:type attribute. This value overrides the XSD Base Type value.
  3. In the Type Namespace, specify the namespace URI value of the custom type used to define this node.

    This value does not impact stream generation unless the Use SOAP 1.1 encoding option on the XML tab is selected. If this option is selected, the value is added to the element tag of the selected node as an xsi:type attribute.
  4. In the Default Value field, specify a value that will be used in the XML stream content when there is no clipboard data to be mapped.

    If a value is specified, it overrides the behavior of the Optional and Nillable options on the Node tab.
  5. To add a soapenc:arrayType attribute to the selected element tag for use in an encoded SOAP message, select Is SOAP array.

    The Use SOAP 1.1 encoding option must be selected to enable this feature.

    If checked, this element should have as its immediate child a repeating element tag that represents the array values. The repeating element tag should be mapped to a Page List property (using the Context Page field), or to a Value List property (using the Source Property field).

    When selected, provide an array type name and a type namespace.

  6. Click OK.

Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us