This document explains how you can access CA Service Desk Manager WebService and how to test WebService Method CreateAttachment Using SOAPUI.
NOTE:
More details on the createAttachment web service method are found at: Web Services Attachment-Related Methods
One particular note is located here:
Could not perform the operation, policy limit exceeded
When using the createAttachment() web service method to attach a document to an existing request or incident, you receive this error, even when the web services policy setting for attachments is set to -1(unlimited), which is the out-of-the-box default setting. You may receive this error when calling the web service method when there are no attached files in the received SOAP message. You must attach at least one file to the SOAP message before calling the createAttachment() web service method.
Set your SOAP implementation to support Direct Internet Message Encapsulation (DIME), and attach the file to be uploaded manually using DIME support before calling the createAttachment() method.
You can refer to the examples on how to support DIME from the $NX_ROOT\samples\sdk\websvc\java\test3_attachments directory.
Step 1 : Install SOAP UI from http://www.soapui.org/downloads/soapui/open-source.html
Step 2 : Launch SOAP UI
Step 3: Select “Login” Method, this is used to create Session ID
Step 4: Select “CreateAttachment” method to add an attachment to Any Given Ticket.
Step 5: Click on + icon in the left had bottom corner and select the file which need to be attached.
Step 6: Click on Submit Request Button to Execute “CreateAttachment “ Method.
Attmnt:400105 , Implies an attachment with id 400105 been created and attached to request.
These Above Steps can be used to check if CA SDM webservice methods are available. And this can be accessed on any system which can open CA SDM URL.