As far as I understand you want to serialize the OpenAccess persistent objects into XML. You want to have an XML representation on the client side. There is no automatic way to do this by using OpenAccess. You should implement custom logic to make the transformation or customize your WCF service with an XmlSerializer and try to capture the generated XML.
There are two options which you have in order to proceed with the service implementation.
- Transform objects into XML explicitly and send their string representation for example.
- Use data transfer objects and plain WCF services which is what I recommend. We have updated our knowledge base repository with an article
which can help you automate the generation and management of the transport objects. These special objects are needed as OpenAccess persistent objects cannot be sent directly with service methods. By creating your own service you will have much more control over its definition and thus proceed with customization smoothly. For instance, here you can implement filter methods which receive the string representations of the GUIDs in a list and return the appropriate objects.
The topic you have raised is an interesting one and is something that is not commonly seen these days – especially when much of the serialization is left to the WCF service. Please, do not hesitate to elaborate on the scenario you wish to accomplish so that we can continue the discussion and clarify the misunderstandings. I would be glad to know if I am guiding you in the right direction.
All the best,
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking
system and vote to affect the priority of the items