|
Anne, you're right to say that starting from the XML Schema is more
likely to buy you SOAP interoperability - but it won't buy you
application interoperability, will it. If anything, it reduces the
chances of achieving it. After all, most SOAP messages are intended for processing by software, not humans, which means that at some point they must be unmarshalled from XML into program language objects. Deserializing into DOM is not enough, unless the only thing you ever want to do with the data you receive is stick it untouched into an XML repository for posterity. And in the general case, there is not enough information in an arbitrary XML schema to describe how this unmarshalling should be done - so relying on a schema will only lead to ambiguity, and consequent "misunderstanding" between sender and receiver (unless, that is, both ends are using the same code libraries, in which case the argument for SOAP over a distributed object system starts to look rather weak. as Gregg continually reminds us). It is a disconnect similar to that between objects and relational data structures. If you are set on using SOAP in preference to a distributed object approach, one approach that will give you genuine interoperability is to adopt a specific dialect of XML, a dialect that is sufficiently limited and formal to remove the disconnect. For example, XMI - the standard XML representation of objects defined using OMG MOF. Otherwise, you may as well resign yourself to having the same code at each end - and may find yourself wondering about the value-add of SOAP in the first place. -- All the best Keith http://keith.harrison-broninski.infoAnne Thomas Manes wrote: The primary difference between RMI and SOAP is that RMI works using pass by reference, and SOAP works using pass by value. I discussed these differences lightly in my blog entry, "Web services are not distributed objects". See http://atmanes.blogspot.com/2005/03/web-services-are-not-distributed.html. YAHOO! GROUPS LINKS
|
- Re: [service-orientated-architecture] Re: XML Tup... Gregg Wonderly
- Re: [service-orientated-architecture] Re: XM... Keith Harrison-Broninski
- RE: [service-orientated-architecture] Re: XM... Harm Smit
- Re: [service-orientated-architecture] Re: XM... Gregg Wonderly
- Re: [service-orientated-architecture] Re: XM... Dan Creswell
- Re: [service-orientated-architecture] Re: XM... Eric Newcomer
- [service-orientated-architecture] Re: XM... Gervas Douglas
- Re: [service-orientated-architecture... Eric Newcomer
- Re: [service-orientated-architec... Elias Sinderson
- Re: [service-orientated-architecture... Paul Fremantle
- Re: [service-orientated-architecture... Michael Champion
- [service-orientated-architecture... Gervas Douglas
