向soap请求添加附件

时间:2014-03-03 10:28:18

标签: soap soapui

当我尝试在soap请求中附加图像时,我在soapUI中收到以下错误

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
  <env:Fault>
     <faultcode>env:Server</faultcode>
     <faultstring>Cannot set an Object of type 'java.awt.image.BufferedImage' as a message attachment.  Attachment objects must be Serializable.</faultstring>
  </env:Fault>
 </env:Body>
</env:Envelope>

请有人帮我理解这个错误的含义,并帮助我解决这个错误,以便我能得到所需的结果

0 个答案:

没有答案