Hi everybody!
I have a question about how to work with flex and c#.
Here is the situation:
We are developing an app with a Flex frontend and a C# backend, connected
through web services.
We are using the FLex Builder 3's "Import Web Service" tool to autogenerate
the webservice classes from the wsdl generated by c#.
Buuuuuuuuut the problem arise when Flex serialize our objects. For example,
when we have a Number property with no value, this is serialized as NaN, and
our backend doesn't know about NaN. Another example, and this is our biggest
problem, is when we serialize a cyclic reference, we get a stack over flow
exception.
I know in java, for example, you can configure the way xstream work with
cyclic reference and all that stuff...
So, the question is, can we change the way Flex serialize the objects so C#
can work with this frontend? Does anybody work with this "architecture"
successfully? Is there any issue we should be aware about how flex serialize
objects or how flex interacts with c#?
Any clue/tip/advice would be very appreciated.
Thanks in advance!
Jorge