I have a problem, and I'm not sure that a solution exists for it. So please, if you have an idea post it!!
The idea here is that the client receives an XML file from which it parses out information and puts into a Javabean. It sends this object using
SOAP to the server. The server pulls out the information, compares it to data from another XML file, then sends a object (bean) back to the client (made up of information from their XML file) using SOAP. Okay...that's the easy part!
The difficulty, if the server (a customer) adds or removes fields from their database, then the fields in the object will change. We want to have a very flexible service that won't have to be updated every time that a customer changes the information that they are sending back.
I really don't see it as something that is going to be able to be done because the beans have pre-defined get/set methods that exist for the variables in the bean. These methods are used for extracting the information from the bean when the bean is received.
Any ideas? Don't you have to have an agreement between the client and server on the XML content? There has to be a cooperation - doesn't there?
Thanks for any ideas you might have on this!