如何在soapui中将xml文件作为参数传递

我需要传递和xml文件(完整的xml内容)作为SoapUI中的参数,但我找不到如何发送它.我试过这个

<arg0>
<!--Optional:-->
<parameter1>&lt;test>like this&lt;/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

相关文章

php输出xml格式字符串
J2ME Mobile 3D入门教程系列文章之一
XML轻松学习手册
XML入门的常见问题(一)
XML入门的常见问题(三)
XML轻松学习手册(2)XML概念