SoapUI encountered "policy limit exceeded" on try to attach document to request.

Document ID : KB000045417
Last Modified Date : 14/02/2018
Show Technical Document Details

Issue:
SoapUI encountered error on try to attach a document to request

Error message
Error - could not perform the operation, policy limit exceeded

Steps to Reproduce:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.ca.com/UnicenterServicePlus/ServiceDesk">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:createAttachment>
         <sid>1455317083</sid>
         <repositoryHandle>doc_rep:1002</repositoryHandle>
         <objectHandle>cr:400052</objectHandle>
         <description>test_soap</description>
         <fileName>s.log</fileName>
      </ser:createAttachment>
   </soapenv:Body>
</soapenv:Envelope>

1 error.jpg

Environment:
SoapUI with ServiceDesk 12.9 or 14.1 with or with patch


Cause:
SoapUI need to cache file to be attached


Resolution:
Click on + sign to add the file to cache

2 sol.jpg

3sol.jpg

4sol.jpg

The attachment was uploaded to request as "attmnt:400080"


Additional Information:
Requirement specific to SoapUI, java app do not need to cache the file to upload.