Issue with HTML tags in string data field while querying SOAP request
book
Article ID: KB0074882
calendar_today
Updated On:
Description
The user is having an issue with HTML tags within string causing an error in query SOAP request in SOAP UI.
Error Message:
=====================
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </ul> expected </Attribute>.
at [row,col {unknown-source}]: [50,66]</faultstring>
<detail/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
=====================
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
Feedback
thumb_up
Yes
thumb_down
No