Highlighted
Absent Member.. Patonix Absent Member..
Absent Member..
1039 views

Error test case Web Services parameters XML with CDATA

I have a problem with a load test for Web services because, in my method, the input parameter is a string which I pass an XML, which has a CDATA, but when I run the Web service, the XML transforms me special characters throws me an error where the server does not recognize the characters, example:

 

Request:

 

<ContextXML>&lt;![CDATA[...

 

Response

 

Data at the root level is invalid line 1, position 1

 

Any help is appreciated

Tags (1)
0 Likes
1 Reply
Absent Member.. James Leatherma Absent Member..
Absent Member..

Re: Error test case Web Services parameters XML with CDATA

I have never had success using Web Services with an uparsed section of CDATA. I have always had to resort to using a web_custom_request for this.

 

Is there no way to get the raw XML for this? Is there a soapUI project that you can tease the XML out of?

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.