Oracle SOA 11g_ BPEL Activities & Components

download Oracle SOA 11g_ BPEL Activities & Components

of 7

Transcript of Oracle SOA 11g_ BPEL Activities & Components

  • Friday, 25 January 2013

    2013 (6) January (6)

    Mediators

    BPEL Activities & Components

    SOAP Interview Que & Answ's

    XML Que & Answ's

    Interview Que's of ESB, AIA

    Interview Questions of SOA

    Blog Archive

    Yes

    No

    Still need Information

    You may select multiple answers. Show results

    Votes so far: 15Days left to vote: 768

    Would you like the blog and isit useful?

    ChallaPrudhvi

    View my complete profile

    About Me

    Oracle SOA 11g: BPEL Activities & Components http://challaprudhvi.blogspot.in/2013/01/bpel-activities-components.html

    1 of 7 23-11-2013 04:35 PM

  • Oracle SOA 11g: BPEL Activities & Components http://challaprudhvi.blogspot.in/2013/01/bpel-activities-components.html

    2 of 7 23-11-2013 04:35 PM

  • Oracle SOA 11g: BPEL Activities & Components http://challaprudhvi.blogspot.in/2013/01/bpel-activities-components.html

    3 of 7 23-11-2013 04:35 PM

  • The two branches of the pick activity are as follows: onMessage (automatically displays below the Pick activity icon)

    Contains the code for receiving a reply, for example, from a loan service. onAlarm (does not automatically display; you must manually add this branch by

    selecting the Pick activity icon and clicking the Add OnAlarm icon)Contains the code for a timeout, for example, after one minute.

    Whichever branch completes first is executed; the other branch is not executed. The branch thathas its condition satisfied first is executed.Figure A-25 shows the OnAlarm dialog of the pick activity in BPEL 1.1.Figure A-25 OnAlarm Branch Dialog of a Pick Activity

    Note: You can also create onMessage branches in BPEL 1.1 scope activities and onAlarmbranches in BPEL 1.1 and 2.0 scope activities. Expand the Scope activity in Oracle JDeveloper,and browse the icons on the left side to find the branch you want to add.If you add correlations to an OnMessage branch, the correlations syntax is placed after theassign activity syntax. The correlation syntax must go before the assign activity.As a work around, perform the following steps:

    1. Create a correlation set in Oracle JDeveloper.2. Assign this to the OnMessage branch.3. Complete the remaining design tasks.4. Before making or deploying the BPEL process, move the correlation syntax before the

    assign activity in the BPEL

    This activity specifies the partner link from which to receive information and the port type andoperation for the partner link to invoke. This activity waits for an asynchronous callbackresponse message from a service, such as a loan application approver service. While the BPELprocess is waiting, it is dehydrated (compressed and stored) until the callback message arrives.The contents of this response are stored in a response variable in the process.The receiveactivity supports the bpelx:property extensions that facilitate the passing of properties throughthe SOAP header, and the obtaining of SOA runtime system properties for useful informationsuch as tracking.compositeInstanceId and tracking.conversationId.Figure A-26 shows the Receive dialog in BPEL 1.1. You can perform the following tasks:

    Provide a meaningful name. Select the partner link service for which to specify an operation. Select the operation to be performed. Automatically create a variable or select an existing variable in which to transport the

    callback response. Figure A-26 Receive Dialog

    13. Reply Activity

    This activity allows the process to send a message in reply to a message that was receivedthrough a receive activity. The combination of a receive activity and a reply activity forms arequest-response operation on the WSDL port type for the process.Figure A-31 Reply Dialog

    This activity enables you to rethrow a fault originally captured by the immediately enclosing faulthandler.Note: This activity is only supported in BPEL 2.0 projects.

    12. Receive Activity

    14. Rethrow Activity

    Oracle SOA 11g: BPEL Activities & Components http://challaprudhvi.blogspot.in/2013/01/bpel-activities-components.html

    4 of 7 23-11-2013 04:35 PM

  • Oracle SOA 11g: BPEL Activities & Components http://challaprudhvi.blogspot.in/2013/01/bpel-activities-components.html

    5 of 7 23-11-2013 04:35 PM

  • Posted by ChallaPrudhvi at 02:50

    tasks in a catch branch). For example, if a client's bad credit history is identified or a socialsecurity number is identified as invalid, a loan application process is terminated, and the client'sloan application document is never submitted to the service loan providers.Note:Figure A-40 shows several terminate activities in the otherwise branch of a switch activity.Figure A-40 Terminate Activity

    This activity generates a fault from inside the business process.Figure A-41 shows the Throw dialog.Figure A-41 Throw Dialog

    This activity enables you to create a transformation that maps source elements to targetelements (for example, incoming purchase order data into outgoing purchase orderacknowledgment data).Figure A-42 shows the Transform dialog in BPEL 1.1. This dialog enables you to perform thefollowing tasks:

    Define the source and target variables and parts to map. Specify the transformation mapper file. Click the second icon (the Add icon) to the right of the Mapper File field to access the

    XSLT Mapper for creating a new XSL file for graphically mapping source and targetelements. Click the Edit icon (third icon) to edit an existing XSL file.

    Figure A-42 Transform Dialog

    .

    This activity allows a process to specify a delay for a certain period or until a certain deadline isreached. A typical use of this activity is to invoke an operation at a certain time. This activityenables you to wait for a given time period or until a certain time has passed. Exactly one of theexpiration criteria must be specified.Figure A-46 Wait Dialog

    22. While Activity

    This activity supports repeated performance of a specified iterative activity. The iterative activityis repeated until the given while condition is no longer true.Figure A-47 While Dialog

    19. Throw Activity

    20. Transform Activity

    21. Wait Activity

    No comments:

    Post a Comment

    Oracle SOA 11g: BPEL Activities & Components http://challaprudhvi.blogspot.in/2013/01/bpel-activities-components.html

    6 of 7 23-11-2013 04:35 PM

  • Newer Post Older PostHome

    Subscribe to: Post Comments (Atom)

    Watermark template. Powered by Blogger.

    Oracle SOA 11g: BPEL Activities & Components http://challaprudhvi.blogspot.in/2013/01/bpel-activities-components.html

    7 of 7 23-11-2013 04:35 PM