Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Namespace not correctly generated from XSD by wizard

SA-1126

Summary


Namespace were not correctly generated from XSD by Connection and Integration wizard. While generating class structure and mapping rules from Connection and Integration wizard, the Parse-XML Rule do not have the correct namespace. Instead they all are generated with pyDefault as namespace and Parse-XML Rules being overwritten by the wizard. 

Error Messages



2014-08-21 14:23:53,211 [p-bio-8080-exec-1047] [Connectors] [ DummyRuleSet:01.01.01] (_Integration_Connectors.Action) ERROR User|0.0.0.0 SMDesigner - Rule list contains more than one XML rule with keys pyClassName=Abcd-efgh-ijkl-mnop-test-Name_element, pyStreamName=Name_element, pyXMLType=pyDefault, removing the duplicate rule to prevent save errors

Steps to Reproduce


Import XSD by running the Connector and Metadata Wizard by selecting purpose as ‘Generate Data Mapping Rule’, Metadata type as ‘XSD’

Root Cause



The namespaces were not getting generated uniquely as the same element was available in multiple XSD file which were getting overwritten.

Resolution



HFix-9969 provided. With this HFix, namespace and the HashCode of the namespace will be used during creation of rules and actual namespaces would be used during runtime.
Suggest Edit

Published June 12, 2015 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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