Portal: Exports R/R XML pairs with incorrect namespace designators

book

Article ID: 7207

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

In a File Publish, when exporting from our Data Pool to XML, the XML namespace designators are incorrect. For example, the Portal adds the namespace as "tdsns1" to the response XML after exporting. The source R/R pairs do not have "tdns1" tags. See the below comparison: 

- Before TDM:
<DAYSPASTDUE>00577</DAYSPASTDUE> 
<AMOUNTPASTDUE>+2737.74000</AMOUNTPASTDUE> 
<DELINQUENTDATE MONTH="09" DAY="07" YEAR="2015" ></DELINQUENTDATE> 
<DELIQUENT> 
<AMOUNTPI>+2737.74000</AMOUNTPI> 
<AMOUNTBI>+0.00000</AMOUNTBI> 
</DELIQUENT> 
<MISSEDPAYMENTS>19</MISSEDPAYMENTS> 
</PASTDUE> 

- After TDM Export: 
<tdsns1:PASTDUE> 
<tdsns1:DAYSPASTDUE>0</tdsns1:DAYSPASTDUE> 
<tdsns1:AMOUNTPASTDUE>+184.8000</tdsns1:AMOUNTPASTDUE> 
<tdsns1:DELINQUENTDATE tdsns1:DAY="03" tdsns1:MONTH="01" tdsns1:YEAR="0001"/> 
<tdsns1:DELIQUENT> 
<tdsns1:AMOUNTPI>+2737.74000</tdsns1:AMOUNTPI> 
<tdsns1:AMOUNTBI>+0.00000</tdsns1:AMOUNTBI> 
</tdsns1:DELIQUENT> 
<tdsns1:MISSEDPAYMENTS>19</tdsns1:MISSEDPAYMENTS> 
</tdsns1:PASTDUE> 

Steps to Reproduce: 
1. Have existing data pool with all the rules created. 
2. Make it available for self-service and as a tile on TDoD. 
3. Create new request. 
4. Submits/publishes successfully. 
5. Export back into XML format. 
- You can see that 'tdsns1' has been added before every line, when it should look like the original. 

Cause

The namespace is configurable in the 'preferrednsprefixes.properties' file found in C:\Program Files\CA\CA Test Data Manager Portal\conf.  
This namespace is supported by all XML parsers and validators, and it works exactly like the source XML. 

Environment

CA Test Data Manager (TDM)- Portal

Resolution

The product is working as designed. The workaround is to configure the namespace. If you would like to see the product work differently, you can submit an enhancement request by following the directions in this document: https://support.ca.com/us/knowledge-base-articles.TEC1107947.html

Additional Information

If you experience any further issues, please open a support case by going to https://www.ca.com/us/services-support/ca-support/contact-support.html