Re: Error test case Web Services parameters XML with CDATA (352 Views)
Reply
Occasional Visitor
Patonix
Posts: 1
Registered: ‎06-13-2013
Message 1 of 2 (378 Views)

Error test case Web Services parameters XML with CDATA

[ Edited ]

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

Esteemed Contributor
James Leatherman
Posts: 543
Registered: ‎06-05-2008
Message 2 of 2 (352 Views)

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?

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.