Forum Discussion

yankin's avatar
12 years ago

XML declaration diappears

Hello,

There's a problem I am having with soapUI (version 4.5.1). Couldn't really find a solution anywhere, so I hope that I may get help here.

Here's what it's all about. I use soapUI for testing a SOAP service. I import a WSDL and create sample requests.

My SOAP server requires that each SOAP request has <?xml version="1.0" encoding="UTF-8" ?> at the beginning. By default, sample requests created from the WSDL do not have this declaration, so I add it manually to each request.

I create a Test Case with the following:
- a SOAP request (with the XML declaration)
- property transfer
- another SOAP request (with the XML declaration).

The problem is, when I run the Test Case, the XML declaration gets stripped off after the property transfer step.

It's very desirable to find out why the XML declaration is removed during Test Case run, and how to stop it.

I hope you can shed some light on this. Please help!

Thanks in advance.

Valery.

(this problem is close to the one described at viewtopic.php?f=1&t=2466)
No RepliesBe the first to reply