我需要传递和xml文件(完整的xml内容)作为SoapUI中的参数,但我找不到如何发送它.我试过这个
<arg0> <!--Optional:--> <parameter1><test>like this</test></parameter1> <!--Optional:--> <parameter2><![CDATA[<test>or like this</test>]]></parameter2>
但我不想这样.我想从SoapUI发送/上传完整的xml文件.如何在SoapUI中附加xml文件作为输入参数?或任何其他解决方案?
提前致谢..
解决方法
看看这个
link.
soapUI supports the following technologies for working with files and
attachments:
- MTOM – a technology for optimized transfer of binary data in SOAP Messages
- SOAP with Attachments in accordance with Attachments Profile – a MIME-based attachment mechanism for the SOAP/HTTP binding
- Inline files for binary content – soapUI specific functionality for simplifying handling of binary message content