WebOrb - Serializing an object as a string <p>We have an Adobe Flex client talking to a .NET server using WebORB. Simplifying things, on the .NET side of things we have a struct that wraps a ulong like this:</p> <pre><code>public struct MyStruct { private ulong _val; public override string ToString() { return _val.ToString("x16"); } // Parse method } </code></pre> <p>And a class:</p> <pre><code>public class MyClass { public MyStruct Info { get; set; } } </code></pre> <p>I want the Flex client to treat MyStruct as a string. So that for the following server method:</p> <pre><code>public void DoStuff(int i, MyClass b); </code></pre> <p>It can call it as (C# here as I don't know Flex)</p> <pre><code>MyClass c = new MyClass(); c.Info = "1234567890ABCDEF" DoStuff(1, c) </code></pre> <p>I've tried playing with custom WebORB serializers, but the documentation is a bit scarce. Is this possible? If so how?</p> <p>I think I can work out how to serialize it, but not the other way. Do I need to write a Custom Serializer on the the Flex end as well? </p>