I have the following situation.

I'm building my application on top of a framework. I can access data only through web-services.

But the framework only contains web-services that return one table per web-service.
In the data-base these tables have relation between them. For export (getting the data out of the database) I could easily merge the datasets returned by each web-service and then write the dataset contents to an XML file. How could I do this, but to take in account relations ?

It also have a set o web-services that can update the database content. I should be able to import the data I previously exported into the database. How could I do this ? (I don't think I can if I am exporting by merging the datasets).

What would be the best approach :) ?

P.S: I can't change the web-service framework. :(

10x