Hello,
I have a custom made smartobject service that takes as input a document of the type File and sends it to a webservice that accepts a byte[]
I'm having trouble converting the File property to byte, I've tried converting the object (Serviceobject.Properties["Document"].Value) to byte, tried encoding it etc but the document that goes through the webservice is always corrupted.
Any help would be appreciated.