I wonder if it is somehow possible to send a binary object that isn't serializable by using soap? Say a simple binary file or an Image object? Can I embed it into a dataset or something? It should be possible by using some kind of encoding technique...???


My problem is that I have to convert some classes to webservices, and when they made this stuff about 1.5 year ago they never thought about making the classes serializable... Therefor many objects include members that are of binary type like:

class User
private m_Name as string
private m_Level as string
private m_Photo as Image <- .NET Framework object, not custom
...
end class


For example I have one method GetUser that returns a user object. How can I make it possble to send a user object by soap-webservices? .NET remoting is out of the question in this case (sadly)

Help...

Henrik