Question

1
Replies
169
Views
DineshK3422 Member since 2017 3 posts
Synergy BIS
Posted: June 4, 2018
Last activity: June 6, 2018
Closed

No defined-on class (pyClassName) was specified for Parse-XML Rule

I am using Pega 7.3.1.

I am invoking Parse XML rule from a Service JMS rule. I have configured the Service JMS Request Tab as follows:

- Map To: XML ParseRule

- Map To Key: Namespace of Parse XML Rule

When I invoke the Service JMS by posting an XML message to a JMS queue, I get the following error:

Attempting to access a rule with a bad defined-on class: Trying to open rule "xxx!yyy" of class "Rule-Parse-XML", but no defined-on class (pyClassName) was specified". Here xxx refers to Namespace of Parse XML rule and yyy refers to root element name. Initially I specified the Map to Key as <Namespace.Root Element Name> but it throws an error "Failed to open rule: Namespace.Root Element Name.Root Element Name> so looks for Root Element Name twice, I resolved it by specifying just the Namespace in the Map To Key, but on execution it throws an error regarding pyClassName.

What is the issue regarding pyClassName and how can I resolve calling this Parse XML rule from Service JMS?

Low-Code App Development
Moderation Team has archived post
Share this page LinkedIn