In Postman i can have body as Form-data
and request can have File as an Input and nothing else. Hence XML file is the input
But In soapui free I just cannot send just the file as the request
The response says cannot detect file
Can you describe how the HTTP message should look?
I was able to make a REST POST request with an attached XML file that looks like this:
POST http://localhost:8080/accountcreation?username=john&password=w0j39av0d8s HTTP/1.1
Content-Type: multipart/mixed; boundary="----=_Part_0_2128274485.1564292773222"
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
Content-Type: text/xml; charset=Cp1252; name=soapui-log4j.xml
Content-Disposition: form-data; name="soapui-log4j.xml"; filename="soapui-log4j.xml"
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
(... the rest of the XML file... )
Is that the sort of thing you meant?