Test Adobe AEM Forms process with SoapUI -


in effort collueges have begun creating example projects in souapui consume our rest services. have stumbled on problem not able solve on own (or googling): not able configure soupui request can send document process takes list of documents input. input variable contains encoded "file:filename" string in byte-array:

<?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> 

this, while can see in soapui attachement sent. first part of raw message:

post http://127.0.0.1:8080/rest/services/björn/processes/test?inputdocs=file%3atest_bs.pdf http/1.1 accept-encoding: gzip,deflate content-type: multipart/form-data; boundary="----=_part_91_1026149240.1491474211203" mime-version: 1.0 content-length: 103524 host: nc1140.rsvc.se:8080 connection: keep-alive user-agent: apache-httpclient/4.1.1 (java 1.5)   ------=_part_91_1026149240.1491474211203 content-type: application/pdf; name=test_bs.pdf content-transfer-encoding: binary content-disposition: form-data; name="test_bs.pdf"; filename="test_bs.pdf" 

i have no problem creating html-page sends request in correct way:

   <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> 

how should edit soaupui-project aem forms receive file?

here zip process , soapui project xml-files.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -