A new attribute <fileData> is displayed when you create a "createAttachment" or "createAttmnt" request. What is it for?
CA Service Desk Manager 17.3 RU18 and later and 17.4.x
The attribute "fileData" is required to send an attachment because CXF Web Services uses MTOM standard to transfer binary data whereas AXIS Web Services used DIME standard.
With MTOM, it is essential to send the binary data as a handler.
Reference documentation:
Apache CXF
Converting attachment format form MTOM to DIME
From the SOAP UI tool, whenever we open a createAttachment request, the fileData is automatically generated with cid:XXXXX. This XXXXX needs to be specified as part in the Attachment area of SOAP UI.
An example of this is shown below:
If you are using the Java based SOAP client, you can refer to NX_ROOT\samples\sdk\cxfwebsvc\java\test3_attachments where DataHandler is created for the attachment.
In addition, please check NX_ROOT\samples\sdk\cxfwebsvc\java for examples on how to write a java program to perform the upload.