I'm currently working on a system that will allow our 175+ clients that
store their data on our databases to export the data to their systems
(via webservice) and also call other web services to update pieces of
that data in our systems.
What I need help with is the ability to format the XML from the web
service differently and dynamically. For example, every client has
completely different data and data structures; I have to make it
available for them to:
1.) Get XML with "custom" tags. For example, perhaps they need the
property to read "firstName" instead of "member_first_name", etc.
2.) Get XML in a different structure than it is displayed relationally.
3.) Receive all or just a subset of the data that is available.
What I'm planning on doing is making the client provide us with an xsd
file if they wish to customize these parameters. Whenever the web
service is called, I will have to import that client's xsd file in
order to format the output as they want it. Am I even close to being on
the right track? (I just picked up web services not too long ago.) Can
the XML output from a webservice be formatted in this way? How do I go
about importing the xsd file?
Any ideas? Suggestions? Crazy Thoughts? Help?!
Thanks.