A web service that prints a hierarchical rendering of the schema types represented by the schema type system available to its application. The logic for this sample is actually in TypeHierarchyPrinter.java, which this web service calls.
A schema type system is a set of Java types corresponding to XML schema types. When you compile schema into Java types, those Java types (along with the built-in types they use or inherit from) become part of a schema type system.
The type system used by this sample is available to this code because the types are included in a JAR file on this application's classpath. These types are used by the various schema-related samples in the SamplesApp application.
The unique "signatures" output by this sample are built from several characteristics, including:
There isn't yet a public standard for such signatures, but the style used here is useful for seeing the hierarchy. Keep in mind that if a signature standard does become adopted, that standard will likely be used by the schema type system API. For more information, see Introduction to Schema Type Signatures.
This sample is located in the xmlBeans/schema folder of the SamplesApp WebLogic Workshop project. In the file system the location is:
BEA_HOME\weblogic81\samples\workshop\SamplesApp\WebServices\xmlBeans\schema\TypeHierarchyPrinterService.jws
To Run the Sample
BEA_HOME/weblogic81/samples/domains/workshop/startWebLogic.sh