Upload files for .NET

.NET clients must first stream files to the server and include a GUID in the attachmentInput parameter, and then call one of the attach methods.

The attach methods include attachTopic, attachNewTopic, or attachAction. Java clients do not use this method as the Java dataHandler field in AttachmentInput class handles the streaming of the file.

void streamFileAttachment(TopicsServiceContext topicsServiceContext,
  String guid,
  byte[] dataHandler, int bufferSize, int offSet)
  throws InvalidArgumentException, TopicsServiceException;

When importing the WSDL with.NET, the dataHandler parameter is a byte array.