On 10 sep, 17:00, Marc Gravell <marc.grav...@gmail.comwrote:
Could you perhaps give a really simple example (a *short* example) of
what you mean? i.e. "I want this object tree [...] to serialize into
this xml [...]"
Marc
A little clarification: I have written a client app that dynamically
retrieves the WSDL for a running service, creates a proxy for it and
now I'm trying to call the service operations dynamically using the
proxy. This works.
However, the idea is that you can edit the service operation
parameters before invoking the operations. Therefore I need a way to
visualize these parameters, which are plain .NET objects.
To do that I was thinking I could serialize these objects to XML and
display the XML, then you can change the values in the XML and
afterwards the XML is deserialized back into the object and used as a
parameter to invoke the service operation. But serializing an object
results in an XML where only the non-null properties are generated,
and I need all properties to be generated.
Another solution was to build a hierarchy of the object in a treeview
and make every property editable, but this involves a lot of work.
So I'm still not sure what could be the best way to go here...