AnsweredAssumed Answered

Uploading attachment in CA Service Desk

Question asked by Ritu on May 19, 2016
Latest reply on Jun 8, 2016 by Chris_Hackett

I need to upload attachment with an incident/request in Service Desk. I am consuming CA SOAP web service in my android project and the method used is createAttachment.

But this gives the error - could not perform the operation, policy limit exceeded

I tried to use the below code provided in samples as a resolution, but this is not working with android:


           FileDataSource fds = new FileDataSource(filename);

           DataHandler dhandler = new DataHandler(fds);

           ((org.apache.axis.client.Stub)usd)._setProperty(Call.ATTACHMENT_ENCAPSULATION_FORMAT, Call.ATTACHMENT_ENCAPSULATION_FORMAT_DIME);




Please help me out with this.