使用SoapUI测试Adobe AEM表单流程

使用SoapUI测试Adobe AEM表单流程,adobe,soapui,aem,livecycle,Adobe,Soapui,Aem,Livecycle,为了帮助我的同事,我开始在SouapUI中创建使用REST服务的示例项目。我现在偶然发现了一个我自己(或通过谷歌搜索)无法解决的问题:我无法配置SoupUI请求,以便它可以将文档发送到以文档列表为输入的进程。输入变量在字节数组中仅包含编码的“file:filename”字符串: <?xml version="1.0"?> <list> <com.adobe.idp.Document serialization="custom"> <co

为了帮助我的同事,我开始在SouapUI中创建使用REST服务的示例项目。我现在偶然发现了一个我自己(或通过谷歌搜索)无法解决的问题:我无法配置SoupUI请求,以便它可以将文档发送到以文档列表为输入的进程。输入变量在字节数组中仅包含编码的“file:filename”字符串:

<?xml version="1.0"?>
 <list>
   <com.adobe.idp.Document serialization="custom">
     <com.adobe.idp.Document>
       <int>3</int>
       <boolean>true</boolean>
       <boolean>false</boolean>
       <null/>
       <string>127.0.0.1///////////10.47.0.140/////</string>
       <byte-array>ZmlsZTpUZXN0X0JTLnBkZg==</byte-array>
       <null/>
       <null/>
       <string/>
       <int>0</int>
       <string>text/plain</string>
       <null/>
       <map>
         <entry>
           <string>file</string>
           <null/>
         </entry>
         <entry>
           <string>wsfilename</string>
           <null/>
         </entry>
       </map>
       <string>adobe/idp/DocumentPullServant/adobejb_server1</string>
       <long>-1</long>
     </com.adobe.idp.Document>
   </com.adobe.idp.Document>
 </list>
我可以创建一个HTML页面,以正确的方式发送此请求:

   <FORM ACTION="http://127.0.0.1:8080/rest/services/Björn/Processes/Test" METHOD="post" ENCTYPE="multipart/form-data">
     <B>Test List<document> input</B>
     File: <INPUT TYPE="file" NAME="InputDocs" /><BR>
     <INPUT TYPE="submit" VALUE="Skicka" /><BR>
    </FORM>

测试列表输入
文件:

我应该如何编辑此SoaupUI项目,以便AEM表单接收该文件


是一个zip,进程和SoapUI项目作为XML文件。

文件通常作为附件随请求一起发送。试试这个是的,我知道。这就是为什么我在参数中使用“file:”前缀。
   <FORM ACTION="http://127.0.0.1:8080/rest/services/Björn/Processes/Test" METHOD="post" ENCTYPE="multipart/form-data">
     <B>Test List<document> input</B>
     File: <INPUT TYPE="file" NAME="InputDocs" /><BR>
     <INPUT TYPE="submit" VALUE="Skicka" /><BR>
    </FORM>