We sell data from our database using a number of delivery mechanisms - websites, pdf, JET databases and Excel spreadsheets. We are being asked to supply data as XML through a web service. The customers also want us to supply it as validated xml according to their desired xml schema.
Looking at our current (2.6) LLBLGenPro projects, I see we can easily produce good looking compact xml using writexml with the compact25 format. It might not validate against the required customer's xml schema though.
How do I ensure that when delivering the data from the object at runtime via a web service (we are using WCF) that the xml sent to the customer is valid against their external schema? If I need to transform data using XSLT for example, where should that be done?
I have read http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=8174 but much of the discussion was above my head. The main message I got was that it looks like our needs are the kind that are best suited to a web service.
Our customers like the idea that they can get validated data that can be fed into their own systems. Currently, we have problems with compatiblity whenever our db schema changes as well as whenever poor quality data (e.g. badly formed html tags, unwanted control characters...) creep into the data.
Sorry to be vague and general, but I am just starting to get the strategy together for this and would appreciate some pointers that might help me avoid some well-known pitfalls.