Forum Discussion

luistamez's avatar
11 years ago

How to pass xml file as parameter in SoapUI?

I need to pass the contents of an XML file as parameter in SoapUI but i could not find how.

Here is an example of what I am trying to do.

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rep="http://test.com">
<soapenv:Header/>
<soapenv:Body>
<rep:serviceOne soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<key xsi:type="xsd:string">All XML content goes here</key>
</rep:serviceOne>
</soapenv:Body>
</soapenv:Envelope>


I want to send/upload complete xml file from SoapUI. How to attach xml file as input parameter in SoapUI?

Any help would be appreciate it,

Luis Tamez
http://www.sonrisaseventos.com/

1 Reply