Is there anything I'm missing here, or is there something special that needs to be done to get postAttachment to work using ECL.WS
eclWS.PostAttachment(eclServiceSession, "<folderid>",EclWSSvc.AttachmentOwnerType.Folder, "C:\\<somefile>",reader.ReadBytes((int)(inputFile.Length)));
//THIS WORKS
//ListResult list = eclWS.GetList(eclServiceSession, ListContentsType.Blank, new ListFilter(), "", "", 1, 100);
//Console.Write(list.Data);
//THIS DOESN’T WORK – WHY?
FileStream inputFile = File.OpenRead("C:\\<somefile>");
BinaryReader reader = new BinaryReader(inputFile);
eclWS.PostAttachment(eclServiceSession, "<folderid>",EclWSSvc.AttachmentOwnerType.Folder, "C:\\<somefile>",reader.ReadBytes((int)(inputFile.Length)));
Forum: Metastorm BPM 9 Designer