# Step 1: Getting Started

The Business Process and Data Transformation Tutorials both use a prepackaged Tutorial Process application. The prepackaged Tutorial: Process Application contains all the business process, XML, XML Schema, DTF, 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.dtf and join.xq files. The steps in this Tutorial tell you how to create the same transformation that is prepackaged in the TutorialJoin.dtf and join.xq files of the Tutorial: Process Application. (You can use the transformation in the TutorialJoin.dtf and join.xq files as a reference.) You name the Transformation file that you build in this tutorial: MyTutorialJoin.dtf and the XQ file that contains the query: myJoin.xq.

After completing the steps in this Tutorial, you will change the RequestQuote business process to invoke the transformation you created in this tutorial. In addition, you will 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. However, you must open the application. To open the application, from the WebLogic Workshop menu bar, select File —> Open —> Application. The Open Workshop Application is displayed. Browse for the existing Tutorial_Process_Application and click Open.

The tasks in this step include:

- To Load The Tutorial Process Application
- To Explore the Contents of the Application

To Load The Tutorial Process Application

In this task, you load the prepackaged Tutorial: Process Application.

1. From the BEA WebLogic Workshop menu bar, choose File —> New —> Application....

The New Application dialog box is displayed.

2. In the left pane, select the Tutorial folder, as shown in the following figure.
3. In the right pane, select Tutorial: Process Application, as shown in the following figure.

4. In the Name field, enter Tutorial_Process_Application.
5. From the Server drop-down menu, select the integration server. For example, if you installed WebLogic Platform in the c:\bea directory on Windows, the integration server is located at the following path:

    c:\bea\weblogic81\samples\domains\integration

6. Click Create.

Your Tutorial Process application is created and displayed in the Application tab. (If the Application tab is not visible in WebLogic Workshop, from the menu bar, choose View —> Application.)

To Explore the Contents of the Application

1. In the Application tab, expand the Schemas folder. (If the Application tab is not visible, from the WebLogic Workshop menu bar, choose View —> Application.)

The XML Schema files for this application are displayed.

2. In the Application tab, expand the Tutorial_Process_ApplicationWeb folder.

The directories and files that make up the Tutorial project are displayed.

3. In the Application tab, expand the Tutorial_Process_ApplicationWeb/requestquote folder.

The DTF, XQ, and JPD files used in the tutorial are displayed. These files are part of the Tutorial project.

The Application tab represents the files and resources available in your business process application. It includes the following components:

Tutorial_Process_Application—The application folder.

Schemas—Contains the XML Schemas used in the business process.

Tutorial_Process_ApplicationWeb—The project folder. Every business process application contains one or more projects. (Projects represent WebLogic Server Web applications. That is, when you create a project, you are creating a Web application. The name of your project will be included in the URL your clients use to access your application.)

requestquote—Contains your project files and folders:

- services folder contains Web services with which your business process interacts.
- testxml folder contains XML files which you can use to test the completed business process.
- RequestQuote.jpd—The completed business process. The Business Process Tutorial walks you through rebuilding this business process. In this tutorial, the prebuilt RequestQuote business process is used to exercise the transformation stored in the TutorialJoin.dtf file.
- DTF files (PriceAvailTransformations.dtf, RequestQuoteTransformations.dtf, TutorialJoin.dtf)—Contains the Transformation files used in RequestQuote.jpd.
- XQ files—Contains queries (written in the XQuery language) called by the DTF files used in RequestQuote.jpd. A Transformation file can have one or more methods, each of which is associated to a query in an XQ file.
- FileQuote.jcx—A File control used by your Request for Quote business process to write a file to the file system.