XML Schema Complete Reference, The
by Cliff Binstock, Chris Galtenberg, Mike Wooding, Chris Dix, Mitchell Smith, Dave Peterson
21.3. Describing Applications
As we stated earlier, you can use an XML schema to describe the results you expect from an operation. The method by which that operation is implemented is not important. It is possible to look at the method signature and determine what inputs and outputs are required to perform the operation. Those argument types are relatively easy to express in an XML schema, either as built-in types or as some additional simple or complex type that you define. From a simple string to a complex complete XML instance, the facilities in an XML schema give you all the power you need to describe the arguments to an XML application.
With the example shown in Listings 21.1 and 21.2, it was not difficult to map the application arguments ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access