Using CXF Web Service "createAttachment" method
search cancel

Using CXF Web Service "createAttachment" method

book

Article ID: 426143

calendar_today

Updated On:

Products

CA Process Automation Base

Issue/Introduction

How to use the CA Service Desk (SDM) CXF Web Service "createAttachment" method within CA Process Automation (ITPAM) process?

Environment

CA Process Automation (ITPAM) 4.3.x and 4.4

Resolution

If you wish to build a CA Process Automation (ITPAM) process to use the CA Service Desk CXF Web Service "createAttachment" method, the ITPAM process should have three (3) operators, with each operator pointing to the CA Service Desk CXF Web Service URL:

Operator #1: LoginSDM

Operator #2: AttachDoc

The XML expression for this method should contain new atribute fileData__:

<impl:createAttachment xmlns:impl="http://www.ca.com/UnicenterServicePlus/ServiceDesk">
<sid>sid__</sid>
<repositoryHandle>repositoryHandle__</repositoryHandle>
<objectHandle>objectHandle__</objectHandle>
<description>description__</description>
<fileName>fileName__</fileName>
<fileData>fileData__</fileData>
</impl:createAttachment>

Operator #3: LogOut

Please contact Broadcom Support if you want an example ITPAM process about how to use Service Desk CXF Web Service "createAttachment" method. 

Additional Information

Web Services Attachment-Related Methods