Content Server CWS - Underlying protocol for Transferring document from CWS Client to OTCS Server

Options

Hi All,

We have a java program which uploads documents to Content Server using CWS SOAP Web services, We are creating document using below piece of code.

Attachment attachment = new Attachment();
byte[] fileInBytes = null;
try {
fileInBytes = Files.readAllBytes(path);
} catch (IOException e) {
throw new Exception("Error reading file.", e);
}
attachment.setContents(fileInBytes);
attachment.setFileName(name);
attachment.setFileSize(fileInBytes.length);
XMLGregorianCalendar createdDate = OpenTextUtils.getXMLGregorianCalendar(new Date());
attachment.setCreatedDate(createdDate);
attachment.setModifiedDate(createdDate);
Node folder = docManClient.getNode(parentId);
Metadata metadata = setMetadata(folder.getMetadata(), properties, true);
Node document = docManClient.createDocument(parentId, name, description, false, metadata, attachment);

I am wondering what is the underlying protocol on which the document is transferred from Java client to Content Server Web Services.

The reason for this question is, we recently migrated all of our servers to AWS. After the migration the performance of the document upload is decreased, we tried copying files manually between servers and they are fast. Only when creating documents from Java client it is taking longer time, so we want to see what underlying protocol it uses so that we can increase the respective bandwidth or configurations.

Thanks,

Satya