This tab contains the XML code. If Auto-generated XML is checked, the XML code is generated from the tree structure on the Mapping tab; you cannot edit the generated value.
If Auto-generated XML is cleared, enter the XML code in the XML SOURCE field.
Field |
Description |
Schema URL |
Optional. Enter the URL of an XML Schema document to use as input for building the XML tree structure on the Mapping tab. Used only when the Auto-generated XML option is checked. For SOAP services that reference this rule, the Schema URL value is added to the generated WSDL document as an external document import. This field supports the Global Resource Settings syntax (=PageName.PropertyName). The default property name for this field is |
Field |
Description |
Auto-generated XML |
Select in most cases so that the Pega Platformcan generate the stream XML (as visible in the XML Source field) from the tree structure on the Mapping tab. Clear this field to allow you to type XML source code into the XML Source field through typing or a text editor such as NotePad or an XML editor. This text is processed by stream processing before use; you can use JSP tags. |
Use SOAP 1.1 encoding | Select to encode the generated XML using the encoding rules of Section 5 of the SOAP 1.1 protocol. If checked, attributes will be added to element tags for explicitly declaring the type of the element. Used only when the Auto-generated XML option is checked. |
Add type attribute to root node | Select to add an xsi:type attribute to the root element. This attribute is used to resolve substituted XML content at the service endpoint. For more information about substituted XML content, see PDN article XSD type and element substitution and the Connector and Metadata wizard. Used only when the Auto-generated XML option is checked. |
Omit extra spaces |
Select to eliminate extra space characters in the processed HTML. This can make transmission or processing more efficient. It does not alter the appearance of the HTML when displayed in a browser. When selected, the way the system handles stream processing is different for JavaServer Pages (JSP) streams and HTML streams. JSP streams replace consecutive spaces and control characters with a single space. For example: As a best practice, remove all line breaks and whitespace. For example:
becomes:
HTML streams delete control characters appearing at the beginning of the rule definition and immediately after a directive, but otherwise behave like JSP streams. For example:
is converted to:
HTML stream processing copies space characters within the text of a property value and non-breaking spaces ( |
Generate for |
This field and the Convert to JSP button appear only when the rule contains directives rather than JSP tags. (The value that appears is As a best practice, use JSP tags rather than directives. In most cases, you can convert XML Stream rules that use directives to use JSP tags automatically, using the button. See Converting from directives to JavaServer Page tags. Do not save the rule form when the source contains both JSP tags and directives. If this rule is circumstance-qualified or time-qualified, make this Generate for value match the Generate for value of the base rule. The base rule and the qualified rules must all use JSP tags or all use directives. |
Convert to JSP |
This button appears only after you save the form when the Generate for value is |