Resources, and Configurations ................................................... 2-1Resource Naming Restrictions ......................................................................................................... 2-2Editing Resources.............................................................................................................................. 2-2Cloning Oracle Service Bus Projects and Folders.......................................................................... 2-2Creating Oracle Service Bus Configuration Projects..................................................................... 2-3Creating Oracle Service Bus Projects............................................................................................... 2-3Creating Servers ................................................................................................................................ 2-3Creating Custom Resources.............................................................................................................. 2-4Creating and Editing JNDI Provider Resources ............................................................................ 2-4Creating Proxy Server Resources..................................................................................................... 2-5Creating Message Format Files ........................................................................................................ 2-5Exporting Resources .......................................................................................................................... 2-5Using the Export Wizard ........................................................................................................... 2-6Using the Command Line or a Script to Export an Oracle Service Bus Configuration.... 2-6Before You Begin.................................................................................................................. 2-6Exporting a Configuration Using the Command Line................................................... 2-6Exporting a Configuration Using Ant .............................................................................. 2-8Exporting a Configuration Using WLST .......................................................................... 2-9Generating an Effective WSDL ........................................................................................................ 2-9Modifying JAR Dependencies.......................................................................................................... 2-9Importing Resources......................................................................................................................... 2-9Using the Import Wizard........................................................................................................ 2-10Using the Command Line or a Script to Import an Oracle Service Bus Configuration. 2-10Creating Service Account Resources............................................................................................ 2-10Creating Service Key Provider Resources ................................................................................... 2-10Creating SMTP Server Resources ................................................................................................. 2-11ivCreating XQuery Transformations ............................................................................................... 2-11Creating XSL Transformations...................................................................................................... 2-11Working with Business Services ........................................................................................................ 2-11Creating Business Services............................................................................................................. 2-11Generating a Business Service from an Existing Service.................................................... 2-12Generating a JCA Business Service from an Outbound JCA File ............................................ 2-12Generating a Business Service from Oracle Enterprise Repository......................................... 2-13Re-generating an Existing Business Service from Oracle Enterprise Repository ........... 2-13Editing Business Services............................................................................................................... 2-13Working with Proxy Services .............................................................................................................. 2-13Creating Proxy Services ................................................................................................................. 2-13Generating a Proxy Service from an Existing Service ........................................................ 2-14Generating a JCA Proxy Service from an Inbound JCA File .................................................... 2-14Consuming Oracle Service Bus Proxy Services in Oracle JDeveloper with WSIL ................ 2-15Editing Proxy Services.................................................................................................................... 2-16Working with Proxy Service Message Flows................................................................................... 2-16Constructing Proxy Service Message Flows................................................................................ 2-17Adding and Configuring Alert Actions in Message Flows ...................................................... 2-18Adding and Configuring Assign Actions in Message Flows ................................................... 2-18Adding and Configuring Conditional Branch Nodes in Message Flows............................... 2-19Adding and Configuring Delete Actions in Message Flows .................................................... 2-19Adding and Configuring Dynamic Publish Actions in Message Flows ................................. 2-20Adding and Configuring Dynamic Routing Actions in Message Flows ................................ 2-20Adding and Configuring Error Handlers in Message Flows ................................................... 2-20Adding and Configuring For-Each Actions in Message Flows................................................ 2-21Adding and Configuring If-Then Actions in Message Flows .................................................. 2-21Adding and Configuring Insert Actions in Message Flows ..................................................... 2-22Adding and Configuring Java Callout Actions in Message Flows.......................................... 2-22Adding and Configuring Log Actions in Message Flows......................................................... 2-22Adding and Configuring MFL Transform Actions in Message Flows ................................... 2-23Adding and Configuring Operational Branch Nodes in Message Flows............................... 2-23Adding and Configuring Pipeline Pair Nodes in Message Flows........................................... 2-24Adding and Configuring Publish Actions in Message Flows .................................................. 2-24Adding and Configuring Publish Table Actions in Message Flows ....................................... 2-24Adding and Configuring Raise Error Actions in Message Flows............................................ 2-25Adding and Configuring Rename Actions in Message Flows ................................................. 2-26Adding and Configuring Replace Actions in Message Flows.................................................. 2-26Adding and Configuring Reply Actions in Message Flows ..................................................... 2-27Adding and Configuring Report Actions in Message Flows ................................................... 2-27Adding and Configuring Resume Actions in Message Flows ................................................. 2-27Adding and Configuring Route Nodes in Message Flows ....................................................... 2-28Adding and Configuring Routing Actions in Message Flows ................................................. 2-28Adding and Configuring Routing Options Actions in Message Flows .................................. 2-28Adding and Configuring Routing Table Actions in Message Flows ...................................... 2-29Adding and Configuring Service Callout Actions in Message Flows..................................... 2-29Adding and Configuring Skip Actions in Message Flows........................................................ 2-30Adding and Configuring Stages in Message Flows................................................................... 2-30vAdding and Configuring Transport Headers Actions in Message Flows .............................. 2-30Adding and Configuring Validate Actions in Message Flows................................................. 2-31Working with Alert Destinations....................................................................................................... 2-31Creating and Editing Alert Destinations ..................................................................................... 2-31Adding E-mail Recipients to Alert Destinations ........................................................................ 2-32Adding JMS Destinations to Alert Destinations......................................................................... 2-32Working with MQ Connections ......................................................................................................... 2-32Adding and Editing MQ Connections ......................................................................................... 2-32Working with Oracle Enterprise Repository and Harvester ......................................................... 2-33Generating Business Services from Oracle Enterprise Repository .......................................... 2-33Using Harvester.............................................................................................................................. 2-35Using Harvester from Eclipse ................................................................................................ 2-35Using Harvester from the Command Line or a Script ....................................................... 2-36Performing Queries in Oracle Enterprise Repository from Eclipse......................................... 2-37Working with UDDI Registries.......................................................................................................... 2-38Adding and Configuring UDDI Registries ................................................................................. 2-38Importing Business Services From a UDDI Registry................................................................. 2-38Working with Split-Join....................................................................................................................... 2-39Introduction to Split-Join ............................................................................................................... 2-39Using Split-Join with Content in SOAP Headers ................................................................ 2-39Transaction Support ................................................................................................................ 2-40Security with Split-Joins.......................................................................................................... 2-40Designing a Split-Join ..................................................................................................................... 2-41Initial Setup.............................................................................................................................. 2-41Creating/Importing a WSDL Containing the Base Operation .................................. 2-41Creating/Importing a Business Service to Use the Split-Join .................................... 2-41Designing a Static Split-Join .......................................................................................................... 2-411. Creating a New Split-Join ................................................................................................... 2-422. Adding an Assign ................................................................................................................ 2-423. Adding a Parallel Node ...................................................................................................... 2-434. Adding an Assign for Each Branch ................................................................................... 2-435. Adding an Invoke Service .................................................................................................. 2-436. Adding an Assign for Each Branch ................................................................................... 2-437. Exporting and Testing the Split-Join................................................................................. 2-44Designing a Dynamic Split-Join.................................................................................................... 2-441. Creating a New Split-Join ................................................................................................... 2-452. Adding an Assign ................................................................................................................ 2-463. Adding a For Each ............................................................................................................... 2-464. Adding an Assign ................................................................................................................ 2-475. Adding an Invoke Service .................................................................................................. 2-476. Adding an Assign ................................................................................................................ 2-477. Adding an Error Handler ................................................................................................... 2-478. Exporting and Testing the Split-Join................................................................................. 2-47Creating a New Split-Join .............................................................................................................. 2-48Configuring the Start Node ........................................................................................................... 2-49Adding General Information.................................................................................................. 2-50Defining Global Variables....................................................................................................... 2-50viViewing External Services ...................................................................................................... 2-51Configuring a Receive .................................................................................................................... 2-51Viewing the Operation............................................................................................................ 2-51Defining the Receive Variable................................................................................................ 2-51Adding General Information.................................................................................................. 2-52Creating an Assign......................................................................................................................... 2-52Adding and Configuring Assign Operations ...................................................................... 2-52Adding an Operation to an Assign ................................................................................ 2-53Adding a Copy Operation............................................................................................... 2-53Adding General Information.................................................................................................. 2-54Invoking a Service.......................................................................................................................... 2-54Selecting an Operation ............................................................................................................ 2-54Defining Input and Output Variables................................................................................... 2-54Adding General Information.................................................................................................. 2-55Creating a Parallel ........................................................................................................................... 2-55Adding Nodes .......................................................................................................................... 2-55Adding General Information.................................................................................................. 2-56Creating a For Each......................................................................................................................... 2-56Defining the For Each Logic ................................................................................................... 2-56Adding General Information.................................................................................................. 2-57Creating an If Activity .................................................................................................................... 2-57Configuring the If ................................................................................................................... 2-57Writing the logic of the condition................................................................................... 2-58Adding resulting nodes ................................................................................................... 2-58Adding General Information .......................................................................................... 2-58Adding and Configuring Else If ........................................................................................... 2-58Writing the Logic of the Condition ................................................................................ 2-58Adding Resulting Nodes ................................................................................................. 2-59Adding General Information .......................................................................................... 2-59Configuring the Else................................................................................................................ 2-59Adding Resulting Nodes ................................................................................................. 2-59Adding General Information.................................................................................................. 2-59Creating an Error Handler............................................................................................................. 2-59Creating a Raise Error..................................................................................................................... 2-60Configuring a Reply........................................................................................................................ 2-60Viewing the Operation............................................................................................................ 2-61Defining the Reply Variable ................................................................................................... 2-61Adding General Information.................................................................................................. 2-62About Scope .................................................................................................................................... 2-62Scope and Variables................................................................................................................. 2-62Exporting and Testing a Split-Join................................................................................................ 2-63Creating a Transport Typed Business Service ..................................................................... 2-63Exporting the Split-Join Files.................................................................................................. 2-63Exporting from the Business Service Menu.................................................................. 2-64Auto-export ....................................................................................................................... 2-64Manual export ................................................................................................................... 2-64Testing the Split-Join in the Test Console............................................................................. 2-65viiExporting from the Business Service Menu.................................................................. 2-65Using the Oracle Service Bus Debugger........................................................................................... 2-65Enabling Debugging ....................................................................................................................... 2-66Using Standard Debugging ........................................................................................................... 2-66Debug Views............................................................................................................................ 2-67Step Actions and Breakpoints ................................................................................................ 2-68Using the Oracle Service Bus Debugger Launch Configuration.............................................. 2-68Remote Debugging .................................................................................................................. 2-69Debugging Oracle Service Bus Running Stand-Alone on a Managed Server................. 2-69Server Sharing .......................................................................................................................... 2-693 Transport ConfigurationProtocol-Specific Transport Configuration Pages.............................................................................. 3-1BPEL-10g Transport Configuration Page (Business Services)..................................................... 3-2DSP Transport Configuration Page (Business Services)............................................................... 3-3EJB Transport Configuration Page (Business Services)................................................................ 3-4E-Mail Transport Configuration Page (Business Services) .......................................................... 3-5E-Mail Transport Configuration Page (Proxy Services) ............................................................... 3-6File Transport Configuration Page (Business Services)................................................................ 3-7File Transport Configuration Page (Proxy Services)..................................................................... 3-7FTP Transport Configuration Page (Business Services) ............................................................... 3-8FTP Transport Configuration Page (Proxy Services) .................................................................... 3-9HTTP Transport Configuration Page (Business Services) ........................................................ 3-10HTTP Transport Configuration Page (Proxy Services) ............................................................. 3-13JCA Transport Configuration Page (Proxy and Business Services)......................................... 3-15JEJB Transport Configuration Page (Business Services)............................................................ 3-17JEJB Transport Configuration Page (Proxy Services) ................................................................ 3-19JMS Transport Configuration Page (Business Services)............................................................ 3-20JMS Transport Configuration Page (Proxy Services)................................................................. 3-23MQ Transport Configuration Page (Business Services) ............................................................ 3-27MQ Transport Configuration Page (Proxy Services) ................................................................. 3-29SB Transport Configuration Page (Business Services)............................................................... 3-31SB Transport Configuration Page (Proxy Services) ................................................................... 3-32SFTP Transport Configuration Page (Business Services).......................................................... 3-33SFTP Transport Configuration Page (Proxy Services)............................................................... 3-33SOA-DIRECT Transport Configuration Page (Business Services)........................................... 3-35Tuxedo Transport Configuration Page (Business Services)...................................................... 3-37Tuxedo Transport Configuration Page (Proxy Services)........................................................... 3-38WS Transport Configuration Page (Business Services) ............................................................. 3-40WS Transport Configuration Page (Proxy Services).................................................................. 3-404 User Interface ReferenceAlerts.......................................................................................................................................................... 4-1Alert Destination Editor .................................................................................................................... 4-2Edit E-mail Recipient Page ............................................................................................................... 4-2Edit JMS Destination Page ................................................................................................................ 4-3viiiBusiness Service Configuration ............................................................................................................ 4-3Business Service General Configuration Page ............................................................................... 4-3Business Service Editor Options ............................................................................................... 4-4Business Service Message Type Configuration Page.................................................................... 4-4Business Service SOAP Binding Configuration Page ................................................................... 4-6Business Service Transport Configuration Page ........................................................................... 4-6Business Service Message Handling Configuration Page......................................................... 4-10Business Service - Service Policy Configuration Page ............................................................... 4-13Business Service Security Configuration Page............................................................................ 4-14Proxy Service Configuration............................................................................................................... 4-15Proxy Service General Configuration Page................................................................................. 4-15Proxy Service Editor Options................................................................................................. 4-15Proxy Service Message Type Configuration Page...................................................................... 4-16Proxy Service Operation Selection Configuration Page ............................................................ 4-18Proxy Service Message Handling Configuration Page.............................................................. 4-21Proxy Service SOAP Binding Configuration Page .................................................................... 4-24Proxy Service Transport Configuration Page ............................................................................. 4-25Proxy Service - Service Policy Configuration Page ................................................................... 4-27Proxy Service Security Configuration Page ................................................................................ 4-28Oracle Service Bus Configurations and Projects............................................................................. 4-30Oracle Service Bus Configurations View..................................................................................... 4-30New Oracle Service Bus Configuration Project Wizard............................................................ 4-31Oracle Service Bus Configuration Page ....................................................................................... 4-31New Oracle Service Bus Project .................................................................................................... 4-32Custom Resources ................................................................................................................................ 4-32New Custom Resource Wizard..................................................................................................... 4-33New Custom Resource Editor....................................................................................................... 4-33New Custom Resource - Resource Type Page ........................................................................... 4-33Custom MQ Resource Configuration Page ................................................................................ 4-33Export Wizard........................................................................................................................................ 4-34Export Wizard - Oracle Service Bus Configuration JAR Export Page..................................... 4-34Export Wizard - Export to Server - Select Resources Page ....................................................... 4-35Export Wizard - Export to Server - Review Resources Page .................................................... 4-36Import Wizard ....................................................................................................................................... 4-36Import Wizard - Config JAR Import - Load Resources Page ................................................... 4-36Import Wizard - Config JAR Import - Review Resources Page ............................................... 4-37Import Wizard - Config ZIP Import - Load Resources Page .................................................... 4-37Import Wizard - Config ZIP Import - Review Resources Page................................................ 4-37Import Wizard - URL Import - Load Resources Page ............................................................... 4-38Import Wizard - URL Import - Review Resources Page ........................................................... 4-38JNDI Providers...................................................................................................................................... 4-38JNDI Provider Editor...................................................................................................................... 4-38New JNDI Provider Resource Wizard ......................................................................................... 4-39Proxy Servers ........................................................................................................................................ 4-39Message Flow Design Palette ............................................................................................................. 4-40Message Flow Nodes ...................................................................................................................... 4-40Message Flow Route Actions - Communication Actions.......................................................... 4-41ixMessage Flow Route Actions - Flow Control Actions ............................................................... 4-41Message Flow Stage Actions - Communication Actions........................................................... 4-42Message Flow Stage Actions - Flow Control Actions ................................................................ 4-42Message Flow Stage Actions - Message Processing Actions .................................................... 4-43Message Flow Stage Actions - Reporting Actions...................................................................... 4-44Message Flow Editor............................................................................................................................ 4-44Alert Action Properties................................................................................................................... 4-46Assign Action Properties ............................................................................................................... 4-46Conditional Branch Node Properties ........................................................................................... 4-47Delete Action Properties ................................................................................................................ 4-48Dynamic Publish Action Properties ............................................................................................. 4-49Dynamic Routing Action Properties ............................................................................................ 4-50Error Handler Node Properties..................................................................................................... 4-50For-Each Action Properties............................................................................................................ 4-50If-Then Action Properties............................................................................................................... 4-51If Action and Else-If Action Properties................................................................................. 4-52Else Action Properties ............................................................................................................. 4-52Insert Action Properties ................................................................................................................. 4-52Java Callout Action Properties ...................................................................................................... 4-53Log Action Properties..................................................................................................................... 4-55Message Flow Properties - Comment .......................................................................................... 4-56Message Flow Properties - Namespaces ..................................................................................... 4-56Message Flow Properties - Variables .......................................................................................... 4-56MFL Transform Action Properties................................................................................................ 4-56Operational Branch Node Properties ........................................................................................... 4-57Pipeline Pair Node Properties ....................................................................................................... 4-58Publish Action Properties .............................................................................................................. 4-59Publish Table Action Properties.................................................................................................... 4-59Publish Table Properties ......................................................................................................... 4-60Case Action Properties ............................................................................................................ 4-60Publish Action Properties ....................................................................................................... 4-61Raise Error Action Properties........................................................................................................ 4-61Transactions............................................................................................................................. 4-61Rename Action Properties ............................................................................................................. 4-61Replace Action Properties.............................................................................................................. 4-62Reply Action Properties ................................................................................................................. 4-63Report Action Properties................................................................................................................ 4-64Resume Action Properties ............................................................................................................. 4-65Route Node Properties ................................................................................................................... 4-65Routing Action Properties ............................................................................................................. 4-66Routing Options Action Properties .............................................................................................. 4-66Routing Table Action Properties................................................................................................... 4-67Routing Table Properties ........................................................................................................ 4-68Case Action Properties ............................................................................................................ 4-69Routing Action Properties ...................................................................................................... 4-69Service Callout Action Properties................................................................................................. 4-69Skip Action Properties.................................................................................................................... 4-72xStage Node Properties .................................................................................................................... 4-72Transport Headers Action Properties .......................................................................................... 4-72Validate Action Properties............................................................................................................. 4-74Modify JAR Dependencies Dialog .................................................................................................... 4-75SMTP Servers........................................................................................................................................ 4-75Edit SMTP Server Page................................................................................................................... 4-76New SMTP Server Resource Wizard............................................................................................ 4-76UDDI Registry Configuration Page................................................................................................... 4-76Outline view - Oracle Service Bus ..................................................................................................... 4-77Resource Management ......................................................................................................................... 4-77Preferences dialog - Oracle Service Bus - Type Associations Page.......................................... 4-77References View .............................................................................................................................. 4-78Select Clone Target Dialog............................................................................................................. 4-78Select a Resource Dialog................................................................................................................. 4-78New Service Key Provider Resource ................................................................................................. 4-78New WS-Policy ..................................................................................................................................... 4-79Service Accounts................................................................................................................................... 4-79New Service Account Resource .................................................................................................... 4-80Service Account Editor - General Configuration Page .............................................................. 4-80Service Account Editor - Static User Configuration Page ......................................................... 4-80Service Account Editor - User Mappings Configuration Page................................................. 4-81Expression Editors ............................................................................................................................... 4-81XQuery/XSLT Expression Editor ................................................................................................. 4-81XPath Expression Editor ................................................................................................................ 4-82Condition Editor............................................................................................................................. 4-82Condition Builder Page .................................................................................................................. 4-83Expression Page.............................................................................................................................. 4-83XQuery Resource Page ................................................................................................................... 4-83XSLT Resource Page ....................................................................................................................... 4-84Dynamic XQuery Page ................................................................................................................... 4-84Variable Structures Page ................................................................................................................ 4-85Namespace Definitions Page......................................................................................................... 4-85XQuery Functions Page.................................................................................................................. 4-86Add Variable Structure Dialog ..................................................................................................... 4-86New XSL Transformation .................................................................................................................... 4-87Split-Join User Interface Reference ................................................................................................... 4-87Split-Join Design Palette................................................................................................................. 4-88Operations................................................................................................................................ 4-88Global / Start Node Properties ..................................................................................................... 4-90Variable Properties......................................................................................................................... 4-90Error Handler Properties ............................................................................................................... 4-91Invoke Service Properties............................................................................................................... 4-91Invoking Another Split-Join ................................................................................................... 4-92Reply Properties .............................................................................................................................. 4-93For Each Properties ......................................................................................................................... 4-93If Properties..................................................................................................................................... 4-94If and Else If Properties .................................................................................................................. 4-94xiParallel Properties ........................................................................................................................... 4-95Raise Error Properties..................................................................................................................... 4-95Repeat Until Properties .................................................................................................................. 4-95Re-Raise Error Properties............................................................................................................... 4-95Scope Properties .............................................................................................................................. 4-96While Properties .............................................................................................................................. 4-96Wait Properties ............................................................................................................................... 4-96Assign Properties ............................................................................................................................ 4-97Assign Operation Properties .................................................................................................. 4-97Copy Properties.............................................................................................................................. 4-98Delete Properties ............................................................................................................................. 4-98Insert Properties .............................................................................................................................. 4-99Java Callout Properties................................................................................................................. 4-100Log Properties............................................................................................................................... 4-101Replace Properties........................................................................................................................ 4-101Receive Properties........................................................................................................................ 4-102Counter Variable Dialog .............................................................................................................. 4-102Create/Edit Variable Dialog........................................................................................................ 4-102Scope and Variables............................................................................................................... 4-103Create Message Variable Dialog ................................................................................................. 4-103Service Browser ............................................................................................................................. 4-103SOAP Fault Variable Dialog ........................................................................................................ 4-103WSDL Browser .............................................................................................................................. 4-104Split-Join Wizard - New Split-Join.............................................................................................. 4-104Split-Join Wizard - Specify Operations ...................................................................................... 4-104Part II XQuery Mapper5 IntroductionOverview of XQuery Mapper ................................................................................................................ 5-1Support for XQuery 2002 and 2004........................................................................................................ 5-2Restrictions Applicable to the XQuery Test View......................................................................... 5-26 Transforming Data Using XQuery MapperLaunching XQuery Mapper.................................................................................................................... 6-1Importing the XQuery Mapper Sample Project ................................................................................. 6-1Creating an XQuery Mapper Project .................................................................................................... 6-2Importing and Creating Schema Files.................................................................................................. 6-2Importing XML Schemas and MFL Files ........................................................................................ 6-3Creating XML Schemas ..................................................................................................................... 6-4Creating XML Files from XML Schemas ........................................................................................ 6-4Creating WSDL Files.......................................................................................................................... 6-5Creating MFL Files............................................................................................................................ 6-5Selecting Source and Target Data Types.............................................................................................. 6-5Creating Data Transformations ............................................................................................................. 6-7Creating Basic Element Transformations ....................................................................................... 6-7xiiPrerequisite ................................................................................................................................. 6-7Creating Element-to-Element Links......................................................................................... 6-7Creating Basic Attribute Transformations...................................................................................... 6-8Prerequisite ................................................................................................................................. 6-8Creating an Attribute-to-Element Link.................................................................................... 6-8Creating Complex Transformations................................................................................................ 6-9Prerequisite ................................................................................................................................. 6-9Creating a Complex Transformation ....................................................................................... 6-9Editing Data Transformations............................................................................................................. 6-10Viewing and Editing XQuery Files............................................................................................... 6-10Creating Joins and Unions ............................................................................................................. 6-11Creating If-Then-Else Expressions................................................................................................ 6-11Creating For-Let-Where-Order By-Return (FLWOR) Expressions.......................................... 6-13Creating Typeswitch Expressions................................................................................................. 6-14Inserting XQuery Functions .......................................................................................................... 6-15Inserting Expression Variables...................................................................................................... 6-16Viewing Schema Properties........................................................................................................... 6-17Restricting Output of Optional Elements ........................................................................................ 6-17Testing Data Transformations............................................................................................................. 6-18Features of the Test View............................................................................................................... 6-18Related Topics .......................................................................................................................... 6-21Graphical Features in Design View................................................................................................... 6-21Right-Click Menu Options............................................................................................................. 6-21Link Patterns................................................................................................................................... 6-22Link Colors...................................................................................................................................... 6-23XML Global Elements,目录:Part I IDE Help for Oracle Service Bus1 Introduction to Oracle Service Bus2 TasksWorking with Projects。
and Attributes...................................... 6-247 Examples: Data Transformation Using XQuery MapperCombining Data from Different Schemas .......................................................................................... 7-1Mapping Repeating Elements and Creating Joins ............................................................................ 7-4Step 1. Create an XQuery File........................................................................................................... 7-4Step 2. Add a Constraint ................................................................................................................... 7-6Step 3. Add Data to Return Element ............................................................................................... 7-7Step 4. Add Function to Calculate Value of Quote ....................................................................... 7-7Step 5. Add a Constraint with Multiple Conditions ..................................................................... 7-9Test the XQuery.............................................................................................................................. 7-10Creating Unions.................................................................................................................................... 7-10Creating Repeating-Source to Nonrepeating-Target Transformations ....................................... 7-12Creating Nonrepeating-Source to Repeating-Target Transformation......................................... 7-14Creating Nested If-Then-Else Expressions....................................................................................... 7-17Step 1. Create the XQuery Transformation ................................................................................. 7-18Step 2. Create the First "If" Condition .......................................................................................... 7-19Step 3. Create the First Nested If-Then-Else Condition............................................................. 7-20Step 4. Create the Second Nested If-Then-Else Condition ........................................................ 7-20Creating FLWOR Expressions............................................................................................................. 7-21Using Recursive Schemas.................................................................................................................... 7-23Grouping Data by Key Fields ............................................................................................................. 7-25xiii8 Upgrading XQuery CodeUpgrading Inline XQuery Code ............................................................................................................ 8-1Upgrading XQuery Files ......................................................................................................................... 8-2Part III Format Builder9 IntroductionOverview................................................................................................................................................... 9-110 Format Builder Main WindowUsing the Menu Bar .............................................................................................................................. 10-1Using the Toolbar ................................................................................................................................. 10-1Using the Tree Pane.............................................................................................................................. 10-2Using the Shortcut Menus................................................................................................................... 10-3Using Drag and Drop ........................................................................................................................... 10-3Valid Names .......................................................................................................................................... 10-411 Message Format Detail Window12 Field Detail Window13 Group Detail Window14 Reference Detail Window15 Comment Detail Window16 Format Builder Options17 Importing MetadataImporting a Guideline XML File........................................................................................................ 17-1Importing an XML Schema ................................................................................................................. 17-1Importing a COBOL Copybook ......................................................................................................... 17-2Importing C Structures........................................................................................................................ 17-3Starting the C Structure Importer ...................................................................................................... 17-3Generating MFL Data........................................................................................................................... 17-4Generating C Code............................................................................................................................... 17-4Importing an FML Field Table Class ................................................................................................ 17-5FML Field Table Class Importer Prerequisites .......................................................................... 17-5Sample FML Field Table Class Files ............................................................................................ 17-6Creating XML with the FML Field Table Class Importer ........................................................ 17-618 Format TesterFormat Tester Window ......................................................................................................................... 18-1xivFormat Tester Menus ............................................................................................................................ 18-1File Menu ............................................................................................................................................... 18-1Edit Menu .............................................................................................................................................. 18-2Display Menu........................................................................................................................................ 18-2Generate Menu ..................................................................................................................................... 18-3Transform Menu................................................................................................................................... 18-3Shortcut Menu ...................................................................................................................................... 18-3Using the Non-XML Window............................................................................................................. 18-3Using the Data Offset Feature............................................................................................................. 18-4Using the Text Feature .......................................................................................................................... 18-4Using the XML Window ...................................................................................................................... 18-4Using the Debug Window................................................................................................................... 18-4Using the Resize Bars ........................................................................................................................... 18-5Debugging Format Definitions .......................................................................................................... 18-5Searching for Values ............................................................................................................................. 18-5Searching for Offsets ............................................................................................................................ 18-5Using the Debug Log............................................................................................................................ 18-619 Format Builder MenusFile Menu ............................................................................................................................................... 19-1Edit Menu .............................................................................................................................................. 19-1Insert Menu ........................................................................................................................................... 19-2View Menu ............................................................................................................................................ 19-3Tools Menu ............................................................................................................................................ 19-3Help Menu............................................................................................................................................. 19-3Shortcut Menu ...................................................................................................................................... 19-320 How Do I?Create a Message Format ..................................................................................................................... 20-1Create a Group ...................................................................................................................................... 20-1Create a Field......................................................................................................................................... 20-2Create a Comment ................................................................................................................................ 20-2Create a Reference................................................................................................................................ 20-3Save a Document .................................................................................................................................. 20-3Use Format Tester ................................................................................................................................. 20-4Debug Format Definitions ......................................................................... , Local Elements, Folders。
Global Types, ORACLE OSB开发指南。
英文版,。
