You are on page 1of 3

Table 1-4 references Directory Contents Directory Activity Description Assign Shows how to receive an input string, prefix

Hello to it using an assign activity, and asynchronously return the result BPELTest Illustrates the features of the BPEL test framework. The BPEL test framework provides emulation and assertion capabilities and eases the automation of testing BPEL processes. Catch Shows how an exception can be raised using the throw activity and managed using a catch activity CustomXPathFunction Shows how to use custom XPath functions within assign activities DynamicPartnerLink Shows how to update dynamic partner links Event Shows how to enable an asynchronous BPEL process and use event handlers to receive and process events while waiting for the asynchronous callback Flow Shows how to create parallel paths of execution within a BPEL process FlowN Shows how to receive an integer and create that number of branches Invoke Shows how to invoke a synchronous integer increment service JavaExec Shows how to use the BPEL exec extension to invoke a Java class from within a BPEL process Link Shows how a link defines dependencies between executions of activities. In this sample, a link in a flow activity sequences the execution of two service invocations. Pick Shows how to invoke an asynchronous loan service and use a BPEL pick activity to receive an asynchronous response or a timeout message. If the loan amount is more than 10000, it takes about 30 seconds for the server to process it, causing a timeout to be raised. Receive Shows how to invoke an asynchronous loan service and wait for an asynchronous callback message using the BPEL receive activity Replay Shows how to replay an activity, such as a scope Reply Shows how to receive a string as input, perform an assign, and use the reply activity to synchronously return the modified string Switch Shows how to use a switch activity to return a different text message based on whether the input value is greater or less than zero Terminate Shows how to invoke a synchronous stock quoting service. The terminate activity then aborts, causing the final callback invoke activity to be skipped. Throw Shows how to throw a BPEL fault (without handling it) and cause the instance to fault Wait Shows how to receive input, wait for 60 seconds, and asynchronously call back a client While Shows how to invoke an incremental service n times with a while activity, where n is provided as an input value Xpath Shows how to receive an invalid application, perform several XPath copies, and asynchronously return the application. This showcases the use of namespace-qualified XPath query strings in assign activities. XPathFunction Shows how to define and use custom XPath functions within BPEL assign activities See Also: Chapter 3, "Manipulating XML Data in BPEL" through Chapter 12, "Interaction Patterns" for activity development concepts and code samples Appendix B, "BPEL Process Activities and Services" for specific details about activities that you drag and drop in Oracle JDeveloper 1.5.3 What Tutorials Are Available? Table 1-5 describes the tutorials available for use in the tutorials directory. See the documentation available in these directories for instructions on running these tutorials. Table 1-5 tutorials Directory Contents Directory Description

101.HelloWorld This sample takes a string as input, appends Hello to it, and asynchronously generates a greeting as a response. 102.InvokingProcesses This sample invokes a variety of processes, including JSPs and remote method invocations (RMIs). 103.XMLDocuments This sample shows how to use XML variables and the assign activity to manipulate XML documents. 104.SyncQuoteConsumer This sample shows how to use the invoke activity to invoke a synchronous stock quote service. 105.AsyncCompositeLoanBroker This sample shows how to use the receive activity to receive a callback from an asynchronous loan processor Web service. 106.ParallelFlows This sample shows how to use the flow activity to define parallel paths of execution within a process. In this sample, two asynchronous loan processing services are invoked in parallel. 107.Exceptions This sample shows how to use fault handling to manage faults generated by invoke and throw activities. The process uses a pick activity to receive the response from a loan validator. If an exception message is received, it throws an error that is handled in a catch fault handler. 108.Timeouts This sample shows how to define and manage timeouts using the pick activity. 109.CorrelationSets This sample shows how to use correlation sets to correlate asynchronous message exchanges between buyer and seller services. It shows content-based correlation of asynchronous messages. 112.Arrays This sample shows how to design a BPEL process that uses arrays. This sample illustrates how you can handle array structures present in your XML payload by using the while activity in the BPEL process. 113.ABCARouting This sample shows how to coordinate the flow of messages across three services: A, B, and C. 114.XSLTTransformations This sample shows how to invoke XSLT transformations to perform complex data manipulations. The process takes in complex invoice data as input. It uses the ora:processXSLT function to pass this data as input to be the XSLT service and returns the transformed content. 115.XQueryTransformations This sample shows the use of XQuery functions in Oracle BPEL Process Manager. This sample requires XQuery libraries available only in the Oracle BPEL Process Manager for OracleAS Middle Tier installation type or one of the Oracle Application Server SOA installation types. This sample cannot be used with the Oracle BPEL Process Manager for Developers installation type. 121.FileAdapter These samples show how to use the file adapter. The following tutorials are provided: COBOL Copybook Processes native data defined using a COBOL copybook Complex structures Processes native data defined in a custom format Debatching Processes native data containing multiple messages defined in a custom format Flat structure Processes address book entries from a CSV (Comma Separated Values) file. This is then transformed to a new address format (fixed-length format). Opaque with headers Handles native data in an opaque format (for example, GIF or JPEG files) See Also: Oracle Adapters for Files, FTP, Databases, and Enterprise Messaging User's Guide 122.DBAdapter The following samples show how to use the database adapter: advancedAdvanced samples that insert and extract XML data stored in a database as a CLOB, set up sequencing, and insert into multiple databases as part of a single transaction

Delete A record is passed to the operation and the database row with the primary key is deleted. File2StoredProcedureData is provided to a stored procedure, which is then executed. File2Table The file adapter, XSLT Mapper, and database adapter take an inbound purchase order, transform it to another order format, and produce an outbound message. Insert A record is passed to the operation and inserted into the database as relational data. InsertWithCatchAdds fault handling to an insert operation MasterDetailReplicates data in the table of one database to the tables of another database Merge A record is passed to the operation and a database row is either inserted or updated. PollingControlTableStrategyAn inbound operation polls XML instances. A control table stores the primary key of every row that has yet to be processed. PollingLastReadIdStrategyAn inbound operation polls XML instances. A helper table remembers a sequence value. A sequence value of 1000 means that every record with a sequence less than that value has already been processed. PollingLastUpdatedStrategyAn inbound operation polls XML instances. A helper table remembers the last-updated value. PollingLogicalDeleteStrategyAn inbound operation polls XML instances. A special field is updated on each row processed. The WHERE clause is updated at run time to filter out processed rows. QueryByExampleAn outbound query by example operation RefCursorA BPEL process takes user input and executes a stored procedure. Output from a REF CURSOR is returned. ResultSetConverterAn alternative using REF CURSOR SelectAllAn outbound Select All operation SelectAllByTitleAn outbound SelectAllByTitle operation SelectCountPure SQL support in 10.1.3.1 SelectGroupByPure SQL support in 10.1.3.1 SelectStarPure SQL support in 10.1.3.1 sqlSQL*Server example UpdateA record is passed to the operation and the database row with the same primary key is updated UpdateAllPure SQL support in 10.1.3.1

You might also like