Back Forward More about Parse XML rules

About Parse XML rules

 

 

Where referenced

Parse XML rules are frequently used with Web services and so are often referenced in Connect SOAP, Connect dotNet, Service SOAP, and Service dotNet rules. However, you can reference Parse XML rules in other types of service and connector rules.

To execute a Parse XML rule in an activity, use the Apply-Parse-XML method.

Upgrading older Parse XML rules

OldParse XML rules created in versions before V5.5 operate correctly in V5.5 without change. However, the map definition is deprecated for new development. To convert to the V5.5 format to allow changes, save the older rule into an open RuleSet Version and click the Upgrade button on the Mapping tab.

Namespace

Although the first key part of this rule is known as the Namespace, it does not conform to any official XML namespace, but serves a similar function, to partition the set of possible parsing rules to avoid accidental name collisions.

Additional documentation

For more information about XML parsing, see these PDNPega Developer Network articles:

Monitoring performance

Through changes to the prconfig.xml file, you can be alerted to unusually long Parse XML executions as PEGA0011 alerts. See How to detect lengthy service operations. C-2432

Java code display

When you save a Parse XML rule, the system converts the steps to Java source code. As a learning or debugging aid, you can review this Java code.

Click the Show Java toolbar button (Show Java) to see the system-generated Java code that implements the parse XML rule. The window presents a read-only preview of the Java that implements this rule instance. This Java code is not identical to the Java that executes at runtime, which includes Java code inlined from other rule instances and reflects rules in the requestor's RuleSet list.

Definitionsdata mapping, service, connector
Related topicsApply-Parse-XML method
Standard rulesAtlas — Standard Parse XML rules

UpAbout Parse XML rules