The samples in this section illustrate how to work with XML using
XMLBeans.
Topics Included in This Section
CustomerDB_XMLBean
Sample
A database control and associated web service client that
show how to return XMLBean types from a database control.
ItemsDB_XMLBean
Sample
A database control and associated web service client that
show how to return XMLBean types from a database control.
MixedContent.jws
Sample
A web service illustrating how you can use an XML cursor
to manipulate the content of an XML element.
SchemaChoice.jws
Sample
A web service illustrating how you can construct an XML
document with XMLBeans and types compiled from schema, and how you can
validate the document in cases where your code may create a document that is
invalid.
SchemaEnum.jws Sample
A web service illustrating how you can access XML values
that are defined in schema as enumerations.
SelectPath.jws Sample
A web service demonstrating how to use the
XmlCursor.selectPath method to execute an XPath.
SimpleAccess.jws
Sample
A web service illustrating basic use of XMLBeans compiled
from XML schema.
SimpleExpressions.jws
Sample
A web service illustrating XQuery by showing a few simple
expressions in use.
ThresholdService.jws
Sample
A web service to use as a test client for the
ThresholdEnums Java control, which contains code that illustrates how you
can use the schema type system to retrieve information about a compiled
schema.
TokenTypes.jws Sample
A web service illustrating how tokens correspond to
portions of an XML document.
TypeHierarchyPrinterService.jws
Sample
A web service that prints a hierarchical rendering of the
schema types represented by the schema type system available to its
application.
XsdConfig.jws Sample
A web service illustrating how you can use an XSDCONFIG
file to guide naming translation when the schema compiler generates an API
corresponding to your schema.
Related Topics
Getting
Started with XMLBeans