doing the conversiot , you are running the risk of certain characters has no
XML representation, that's why you getting the error on your client, my
suggestion would be to use DIME / WS-attachment, it's alot easier to develop
and configure and it's designed for this kind of purpose
--
Erymuzuan Mustapa
Inter Virtual Sdn. Bhd.
See MIND at http://www.MIND.com.my
"Stephen Richardson" <srichardson (AT) mazak (DOT) co.uk> wrote
Quote:
I'm writing a web service which will return a string
containing the contents of a binary file (converted using
System.Convert.ToBase64String). When I pass the string to
a second web service to write the file I get an exception
error "Invalid character in Base64 string" when I try to
use System.Convert.FromBase64String. Any ideas why this
happens or suggestions about other ways to write this (I
thought about using DIME attachments) would be appreciated. |