This document explains how you can access CA Service Desk Manager WebService and how to test WebService Method CreateAttachment Using SOAPUI.
CA Service desk Manager 17.4 and above
SOAP CXF Web Services
Step 1 : Download and Install SOAP UI
Step 2 : Launch SOAP UI
The "fileData" attribute will be pre-populated and is part of the MTOM specifications for createAttachments via CXF based web services.
Please see CXF Web Service "createAttachment" method show a new attribute "fileData"
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.
pdm_extract -f "Select persid, description from Document_Repository"
TABLE Document_Repository
persid description
{ "doc_rep:1000" ,"Default Images Repository" }
{ "doc_rep:1001" ,"Default Knowledge Repository" }
{ "doc_rep:1002" ,"Default Service Desk Repository" }
pdm_extract -f "Select persid, ref_num, active_flag, type from Call_Req where ref_num = 'XX'"
C:\>pdm_extract -f "Select persid, ref_num, active_flag, type from Call_Req where ref_num = '28'"
TABLE Call_Req
persid ref_num active_flag type
{ "cr:400103" ,"28" ,"1" ,"I" }
Step 5: Click on the "Attachments" tab, then the + icon and select the file which need to be attached.
IMPORTANT: The field under the "Part" column is accessible as a dropdown. Select the numeral value designated under the "fileData" attribute that was pre-populated when generating the initial sample request
Step 6: Click on Submit Request Button to Execute “CreateAttachment “ Method.
attmnt:400001 , Implies an attachment with id 400001 been created and attached to request.
More details on the createAttachment web service method are found at: Web Services Attachment-Related Methods
See also SOAP Web Services Demo using SOAPUI
While Axis based web services lacks the "fileData" attribute for the createAttachment method, Axis Web Services is also deprecated for SDM 17.4 and is unsupported as of 17.4 RU5.