Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Configuring the XSD type for an XML Stream rule

Updated on April 6, 2022

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.
    Note: 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.

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us