Issue with HTML tags in string data field while querying SOAP request

Issue with HTML tags in string data field while querying SOAP request

book

Article ID: KB0074882

calendar_today

Updated On:

Products Versions
TIBCO MDM -

Description

The user is having an issue with HTML tags within string causing an error in query SOAP request in SOAP UI. 

Error Message:
=====================
&ltsoapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&gt
   &ltsoapenv:Body&gt
      &ltsoapenv:Fault&gt
         &ltfaultcode&gtsoapenv:Server&lt/faultcode&gt
         &ltfaultstring&gtcom.ctc.wstx.exc.WstxParsingException: Unexpected close tag </ul> expected </Attribute&gt.
 at [row,col {unknown-source}]: [50,66]&lt/faultstring&gt
         &ltdetail/&gt
      &lt/soapenv:Fault&gt
   &lt/soapenv:Body&gt
&lt/soapenv:Envelope&gt
=====================

Environment

Product: TIBCO MASTER DATA MANAGEMENT Version: 901 or higher OS: ALL

Resolution









The HTML tags in the web service request are not in the SOAP request, they are in the DATA that returns by MDM for QUERY SOAP request.

So, to resolve the issue please enable Web Service Response CDATA Text property in configvalues:

<ConfValue description="Determines whether the response text data will contain CDATA sections. Default is true." name="Web Service Response CDATA Text" propname="webservices.response.usecdata" sinceVersion="7.1" visibility="Advanced">
                <ConfBool default="true" value="true"/>
</ConfValue>

After this, restart the server and try to hit the webservice in SOAP UI.

Issue/Introduction

Issue with HTML tags in string data field while querying SOAP request