Data transformation is the mapping and conversion of data from one format to another. For example, XML data can be transformed from XML data valid to one XML Schema to another XML document valid to a different XML Schema. Other examples include the data transformation from non-XML data to XML data. This tutorial introduces the basics of building a data transformation by describing how to create and test a XML-to-XML data transformation using WebLogic Workshop.
In WebLogic Integration business processes, a data transformation transforms data using queries (written in the XQuery language). This tutorial describes the steps for building a query in the XQuery language—a language defined by the World Wide Web Consortium (W3C) that provides a vendor independent language for the query and retrieval of XML data.
To learn about the XQuery language, see the XQuery 1.0: An XML Query Language Specification - W3C Working Draft 16 August 2002 at the W3C web site at the following URL:
The WebLogic XQuery engine invoked by a business process conforms to the August 16, 2002 draft of the XQuery Specification.
To learn more about XML and XML Schemas, see Java and XML Basics.
The data transformation created in this tutorial is invoked in the RequestQuote business process. This business process is created to meet the business needs of an enterprise. The enterprise starts the business process as a result of receiving a Request for Quote from clients, checks the enterprise's inventory and pricing systems to determine whether the order can be filled, and sends a quote for the requested items to the client. To learn more about creating business processes and the RequestQuote business process, see Tutorial: Building Your First Business Process.
The following figure shows the flow of data in the RequestQuote business process of the Tutorial Process application.
The purpose of the RequestQuote business process is to provide price and availability information for a set of widgets. The flow of the data through the RequestQuote business process is represented by the following steps:
The tutorial provides steps to create and test a transformation using the graphical environment provided in WebLogic Workshop. Specifically, in this tutorial you will create the following:
Follow the steps in this tutorial to create and test a data transformation. Specifically, the steps include: