The Business Process and Data Transformation Tutorials both use a prepackaged Tutorial Process application. The prepackaged Tutorial: Request Quote Process Application contains all the business process, XML, XML Schema, Transformation, and XQ files, required to run the tutorial business processes and transformations.
The RequestQuote business process in the Tutorial Process application invokes a transformation stored in the TutorialJoin.java
and join.xq
files. The steps in this Tutorial explain the procedures to create the same transformation that is prepackaged in the TutorialJoin.java
and join.xq
files of the Tutorial: Request Quote Process Application. (You can use the transformation in the TutorialJoin.java
and join.xq
files as a reference.) Name the Transformation file MyTutorialJoin.java
and the XQ file that contains the query: myJoin.xq
.
After completing the steps in this Tutorial, modify the RequestQuote business process to invoke the transformation created in this tutorial. In addition, run the RequestQuote business process which will invoke the transformation, as described in Step 12: Run the Request Quote Business Process of the Business Process Tutorial.
Note: | If you followed the steps described in the Business Process Tutorial, you have already created an application and can skip the To Load The Tutorial Process Application task. |
The task in this step include:
In this task, you load the prepackaged Tutorial: Process Application.
Note: | J2EE is the default perspective of the Oracle Workshop for WebLogic. The Process perspective contains all the required views like Node Palette, Data Palette, and so on. |
Note: | Similarly, XQueryTransformation perspective contains views pertaining to XQuery Transformation like Expression Functions, Expression Variables, Target Expression, and Constraints. |
The Package Explorer pane displays the files and resources available in the application:
Ear Project — An EAR project is the central point of application. An EAR project contains JAR files that are shared by the projects in the enterprise application. This project contain links to all of the projects in the application. The project files are used by Oracle Workshop for WebLogic to test and deploy enterprise applications that contain multiple projects. The EAR Project files are used to create EAR (Enterprise Archive) files.
Web Project— A project with Oracle WebLogic Integration process facet added to it. Every application contains one or more projects. Projects represent Oracle WebLogic Server applications. In other words, when you create a project, you are creating a Web application. (The name of your project is included in the URL that clients use to access your application.)
Utility Project—A project that contains the XML Schemas and the Message Broker channel file used in the application.
Web Applications are J2EE deployment units that define a collection of Web resources such as business processes, Web services, JSPs, servlets, HTML pages, and can define references to external resources such as EJBs.
requestquote—contains the business processes, transformation, xq files
RequestQuote.java
.RequestQuote.java
.XQ files—An XQ file is created for each transformation method on a transformation file. XQ files contain the queries (written in the XQuery language) called by the transformation files in your project.
requestquote.services folder contains services with which your business process interacts. The services folder includes Web services, Web Service controls, business processes and Process controls.
testxml folder contains XML files which you can use to test the completed business process.