Scope structured activity in JDeveloper/BPEL Process

well, I am quite using Jdeveloper for createing BPEL process with scope activity and without. Now under what conditions ideally one should go for scope activity ?
Is it similar to methods in Java ? and variables we declare inside this scope are visible only within this scope --> again something similar to local variables in Java.
So, ideally when should developer think of using scope activity in bpel ? though many's answers would be depends the business scenario. But I need some general concepts & thought about how one should use this ?
Thanks.

Hi,
Scope activity is being used as a container for other activities. Within the scope you can manage fault handling, compensation, variable declaration, correlation etc..
When you build, or design your process, you need to consider a use of a scope activity.
For example: You need to design a process that calls java class and a web service(or other 2 operations). You can:
1. Use 1 scope that contains both calls. That way, if you will have an error for either one of the services, you can catch it, and do something, like terminate the process.
2. Use 1 scope for each service call. That way, if you will have an error for either one of the services, you can catch it, and continue to the next process step (scope or other activity).
Also, within a scope you can declare an operation that Replay the scope. That way, if something happens -> begin the scope (and its activities) from the beginning.
There are many ways and purposes to use a scope. Again, it depends what is your requirement.
One important thing to consider –scope can influence on performance (just to be aware of).
Arik

Similar Messages

  • Business Activity Monitoring for BPEL Processes

    Hello,
    IEP is capable of monitoring real time events, Real time business event collection and processing.
    In that case, can we use IEP to monitor BPEL process activities with activity data.
    One very big part, the ability to provide functionality for third parties (clients like Me) to register some sort of observer to capture live BPEL process activity, is missing.
    I'm trying to cover that big hole in my project. That's the reason I'm posting about BPEL process management capabilities and events.
    But I got no concrete answers for that. Not every business use can be provided by any generic system.
    I looked at CAM (which comes with Alaska build). But I couldn't get much info about entire picture.
    Other BPEL engines, the one I have used, has the functionality to do activity monitoring and process management. (IBM Process server, Apache ODE)
    Could any IEP, BPEL component developers answer any sort of solution to my use case?
    Thank you
    Raja

    I agree that this would be very useful. If anyone can provide additional insight it would be much appreciated.

  • How to resubmit failed activity in a BPEL process using Java in 11g

    Hi All,
    In 11g, is there any API using which we can resubmit failed activity in BPEL using Java.
    Thanks,
    Vidya

    Hello
    To assign a header
    1. Create a variable of the correct type
    2. Click on the invoke/pick/reply or the receive
    3. Click on the header tab
    4. Select the header
    Validate the header after the receive
    5. Select the header the varaible and use a validate action.
    Best Regards Tristan Hayman

  • Code change management in JDeveloper & BPEL Process Manager

    Hi,
    I am finding that when we make any changes such as adding more parameters to a database adapter query, internally generated variable / message type names change, and you have to re-do most of the work downstream of the database adapter.
    It seems the message types etc are generated using the parameter names
    e.g. a generated message type name ..
    ns2:extractGLDataSelect_last_extract_end_date_user_agency_code_current_end_date_inparameters
    This was a message type name generated for a query which takes
    las_extract_end_date, user_agency_code, and current_end_date as input parameters.
    Due to this, if I need to change by adding one more parameter or removing one for that matter, JDev keep all existing definitions and I have to go and make all the relevant downstream changes ...
    Am I missing something? Or that's the way the schema, WSDL and other name generation works... and we can't do much about it ..
    Would like to know if there's a better way to manage, and if others have seen similar issue with maintenance of the source code...
    Thank you,
    M

    I did get it to work after making the changes, just didnt like the way I had to make them. Had several steps, transformation etc. which were using the output from this adapter and had to make appropriae changes there.
    Was looking to see if there is a more efficient way of handling this....
    Thank you,
    M

  • Problems with: orcl:lookup-xml in BPEL process transformation activity

    All,
    I'm trying to do a lookup (using orcl:lookup-xml) from a transform activity within a BPEL process.
    The function editor in JDeveloper tells me that the following params are needed:
    - docURL
    - parentXPath
    - keyXPath
    - lookupXPath
    - key
    All of this is clear! In the examples I can find on the oracle site, the value for the docURL is always like: "file:/x:/somefile.xml". This works fine when I test the xsl on my local development pc. However when I deploy to my test environment (SOA Suite on Linux) this file reference isn't going to work obviously.
    I want the docURL to point to an XML file which I include in the deploy of the BPEL process. Can anyone tell me how to do this?
    Hope you can help!
    Message was edited by:
    Chris Everett NL

    Is this xml-file on some relative path of your bpel process, or can you ship it in the same directory inwhich also the .bpel file exists ?

  • Creating simple Business Rules in BPEL process

    Hi,
    I have an environment consisting of SOA Suite 11g running on Weblogic Server. I'm using JDeveloper 11g for development.
    Scenario
    I have a BPEL process which starts off by polling a DB table and I then assign the input to a Recieve activity's InputVariable. I have a 'Number' column which will contain a number between 1 and 3. I then require Business Rules (BR) to be set up which read this value, and based on the number, assign a 'Name' string (which is to be the output variable from the business rules) to be used later on in BPEL process.
    Problem - I have followed the basic tutorials available in order to set up the business rules, but am getting numerous errors. Firstly, I sometimes find that my input/output variables created during setup of BR component and the XSD based on this, does not have XML Faces automatically created for it (therefore have to create it myself by clicking on the + button and doing this for each element of XSD). When I do get this working, I then double-click on my Business Rules activity in my BPEL process, only to find that the input/output variables here no longer are assignable to my BR input/output variables as I get the following error "Exception: Problem Building Schema!".
    I am not sure why this is, but suspect that my XSD (which is very simple anyway) or the setup steps I follow to define the link to my XSD, are wrong.
    I have taken the following steps so far:
    1. Create empty BPEL process
    2. Set up polling adapter to poll DB table
    3. Create Receive activity and assigned polled input to created variable
    4. Add Business Rules component to composite and set up and create dictionary here. Also set up inputs/outputs to be in form of my XSD elements.
    5. Add Business Rules component to my BPEL process and configure this to include input/output variables (*This is where error occurs*)
    6. Go back to .rules component in composite to define rule and define rule
    Upon deployment, I get many errors most of which pertain to "Unresolved XML element... make sure XML element +xxxxx+ is defined in one of WSDL's that are referenced by the deployment descriptor."
    I have only imported a simple XSD containing two elements to this project. The other XSD is the one of my polling adapter. I've not created any input/output variables for the overall BPEL process as didn't think I was required to.
    Can you please help in getting this process doing the simple activities described at the top.
    I appreciate your help.
    Edited by: user10248308 on 10-Mar-2010 11:49

    Hi,
    Create a project with BPEL composite
    Now drag a business rule
    Now create input variable of type ur requestelement
    and output variable of type response element
    Now in rules designer page take decision table
    and then craete a condition (inputelement.input > 1000) and in the rule select true
    now create another rule select false
    Npw create an action with assertion and select the parameterized box there
    now in designer page for first rule assign some value (say 500) and for second rule some value(100)
    Now in bpel u have to assign a value to input var of BR
    Deploy the process
    If u supply 10000 u will get 500
    if u supply 100 u will get 100
    In the same way u can do by using If-Then
    You can use facts and bucketsets according to ur requirement
    Regards
    PavanKumar.M
    PavanKumar.M

  • Synchronous BPEL process calling apache soap 2.3.1 service(s) on jboss

    I have a problem that is quite frustratiing. I have a very simple synchronous BPEL process and I am trying to invoke some legacy services we have deployed using Apache soap 2.3.1 running on jboss. The process executes, the service executes, but the return value is not received by the BPEL process.
    I used obtunnel to capture the data flow and everything seems fine from that perspective. The problem is, if you watch the monitor, the status says active, but the BPEL process returns immediately. It does not wait for the response, so the return value winds up being null. I have tried this numerous times with several services and the result is always the same. This is a serious problem for us. Any suggestions/insight would be very much appreciated.
    Ina case there are any doubts as to whether or not it is actually a synchronous process, from the BPEL code:
    <!--
    Oracle JDeveloper BPEL Designer
    Created: Wed Apr 18 13:19:50 EDT 2007
    Author: bmurray
    Purpose: Synchronous BPEL Process
    -->
    Below is an example from obtunnel:
    ==============
    Listen Port: 5678
    Target Host: pian.wlgore.com
    Target Port: 8080
    ==== Request ====
    POST /soap/servlet/rpcrouter HTTP/1.1
    Host: pian.wlgore.com:5678
    Connection: TE
    TE: trailers, deflate, gzip, compress
    User-Agent: Oracle HTTPClient Version 10h
    SOAPAction: "http://vitalstream.com/webservices/Authenticate"
    Accept-Encoding: gzip, x-gzip, compress, x-compress
    Content-type: text/xml; charset=UTF-8
    Content-length: 829
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <env:Body>
    <ns0:Authenticate xmlns:ns0="http://vitalstream.com/webservices">
    <strAccount xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string">testvar3</strAccount>
    <strToken xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string">testvar1</strToken>
    <strReferrer xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string">testvar4</strReferrer>
    <strSourceURL xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string">testvar</strSourceURL>
    <strClientIP xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string">testvar2</strClientIP>
    </ns0:Authenticate>
    </env:Body>
    </env:Envelope>==== Response ====
    HTTP/1.1 200 OK
    X-Powered-By: Servlet 2.4; Tomcat-5.0.28/JBoss-4.0.1sp1 (build: CVSTag=JBoss_4_0_1_SP1 date=200502160314)
    Set-Cookie: JSESSIONID=C656EEE6B641F23F02D6E5BE79CD2A4D.ajp13w; Path=/soap
    Content-Type: text/xml;charset=utf-8
    Content-Length: 480
    Date: Wed, 18 Apr 2007 18:34:19 GMT
    Server: Apache-Coyote/1.1
    <?xml version='1.0' encoding='UTF-8'?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <ns1:AuthenticateResponse xmlns:ns1="http://vitalstream.com/webservices" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <return xsi:type="xsd:int">1</return>
    </ns1:AuthenticateResponse>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    ==============
    As you can see, the value is indeed returned from the service, but BPEL indicates a null value for the return:
    <messages><Invoke_1_Authenticate_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="strSourceURL"><strSourceURL xmlns="" xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">testvar</strSourceURL>
    </part><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="strToken"><strToken xmlns="" xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">testvar1</strToken>
    </part><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="strAccount"><strAccount xmlns="" xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">testvar3</strAccount>
    </part><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="strClientIP"><strClientIP xmlns="" xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">testvar2</strClientIP>
    </part><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="strReferrer"><strReferrer xmlns="" xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">testvar4</strReferrer>
    </part></Invoke_1_Authenticate_InputVariable><Invoke_1_Authenticate_OutputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Result">null</part></Invoke_1_Authenticate_OutputVariable></messages>

    Did you specify the correct message type for your return variable?
    <Invoke_1_Authenticate_OutputVariable>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Result">
    null
    </part>
    </Invoke_1_Authenticate_OutputVariable>
    As is returns:
    <ns1:AuthenticateResponse
    xmlns:ns1="http://vitalstream.com/webservices" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <return xsi:type="xsd:int">1</return>
    </ns1:AuthenticateResponse>
    Regards,
    Marc

  • Problem encountered while sending a mail notification from BPEL process

    Hi All,
    I am fresher in BPEL world, I am trying to send a notification mail to user using BPEL process. I had done all the configuration needed for mail notification process given in the developer guide.
    I am able send a notification mail to intended recipent and also able to receive response activity from the BPEL process.
    but, I am getting the following error in the server console.
    <2006-10-10 16:58:00,642> <ERROR> <default.collaxa.cube.services> <TaskNotificationsForXPath::getActionableLink> Check the error stack and fix the cause of theerror. Contact oracle support if error is not fixable.
    <2006-10-10 17:02:03,144> <ERROR> <default.collaxa.cube.services> <PCException::<init>> Email account does not exist.
    <2006-10-10 17:02:03,160> <ERROR> <default.collaxa.cube.services> <PCException::<init>> Email Account atikam@localhost does not exist.
    <2006-10-10 17:02:03,160> <ERROR> <default.collaxa.cube.services> <PCException::<init>> Actionable links could not be added to task notification.
    <2006-10-10 17:02:03,160> <ERROR> <default.collaxa.cube.services> <PCException::<init>> Actionable links could not be added to task notification for task 4506.
    The email account that will receive this actionable message is atikam@localhost.
    This task is associated with the business process c0c81fee36462bc5:c2b2f6:10e31
    a208d3:-7fdc, identified by SimpleVacReqEscBPELProcess
    <2006-10-10 17:02:03,160> <ERROR> <default.collaxa.cube.services> <PCException::<init>> Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
    <2006-10-10 17:02:03,160> <ERROR> <default.collaxa.cube.services> <TaskNotificationsForXPath::getActionableLink> Actionable links could not be added to task notification.
    <2006-10-10 17:02:03,160> <ERROR> <default.collaxa.cube.services> <TaskNotificationsForXPath::getActionableLink> Actionable links could not be added to task notification for task 4506. The email account that will receive this actionable message is atikam@localhost. This task is associated with the business process c0c81fee36462bc5:c2b2f6:10e31a208d3:-7fdc, identified by SimpleVacReqEscBPELProcess
    <2006-10-10 17:02:03,160> <ERROR> <default.collaxa.cube.services> <TaskNotificationsForXPath::getActionableLink> Check the error stack and fix the cause of theerror. Contact oracle support if error is not fixable.
    - If anyone encountered the same situation, please let me know why above error message is coming.
    Thanks in advance.
    Sagar.

    Hi All,
    I am fresher in BPEL world, I am trying to send a notification mail to user using BPEL process. I had done all the configuration needed for mail notification process given in the developer guide.
    I am able send a notification mail to intended recipent and also able to receive response activity from the BPEL process.
    but, I am getting the following error in the server console.
    <2006-10-10 16:58:00,642> <ERROR> <default.collaxa.cube.services> <TaskNotificationsForXPath::getActionableLink> Check the error stack and fix the cause of theerror. Contact oracle support if error is not fixable.
    <2006-10-10 17:02:03,144> <ERROR> <default.collaxa.cube.services> <PCException::<init>> Email account does not exist.
    <2006-10-10 17:02:03,160> <ERROR> <default.collaxa.cube.services> <PCException::<init>> Email Account atikam@localhost does not exist.
    <2006-10-10 17:02:03,160> <ERROR> <default.collaxa.cube.services> <PCException::<init>> Actionable links could not be added to task notification.
    <2006-10-10 17:02:03,160> <ERROR> <default.collaxa.cube.services> <PCException::<init>> Actionable links could not be added to task notification for task 4506.
    The email account that will receive this actionable message is atikam@localhost.
    This task is associated with the business process c0c81fee36462bc5:c2b2f6:10e31
    a208d3:-7fdc, identified by SimpleVacReqEscBPELProcess
    <2006-10-10 17:02:03,160> <ERROR> <default.collaxa.cube.services> <PCException::<init>> Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
    <2006-10-10 17:02:03,160> <ERROR> <default.collaxa.cube.services> <TaskNotificationsForXPath::getActionableLink> Actionable links could not be added to task notification.
    <2006-10-10 17:02:03,160> <ERROR> <default.collaxa.cube.services> <TaskNotificationsForXPath::getActionableLink> Actionable links could not be added to task notification for task 4506. The email account that will receive this actionable message is atikam@localhost. This task is associated with the business process c0c81fee36462bc5:c2b2f6:10e31a208d3:-7fdc, identified by SimpleVacReqEscBPELProcess
    <2006-10-10 17:02:03,160> <ERROR> <default.collaxa.cube.services> <TaskNotificationsForXPath::getActionableLink> Check the error stack and fix the cause of theerror. Contact oracle support if error is not fixable.
    - If anyone encountered the same situation, please let me know why above error message is coming.
    Thanks in advance.
    Sagar.

  • How to execute BPEL process and invoke web service and workflow design

    I am completely new to Oracle software. i need to develope BPEL process using oracle
    I have installed almost all necessary product like oracle SOA suite , jDeveloper, BPEL process manager.
    But nothing works . i did not installed patches.
    I INSTALLED ALL LATEST SOA SUITE 11g AND ORACLE BUSINESS MANAGER (10.1.3.1.0). BUT I AM LACKING bpel DESIGNER. For that purpose i downloaded and installed oracle JDeveloper 11g studio version. but it does not have bpel designer.
    all tutorial are based on either eclipse based bpel designer "bpelz" OR jdeveloper based. but latest JDEVELOPER 11g studio version does not have any bpel option. even i can not able to download necessary patches.
    KINDLY TELL ME NECESSARY PREREQUISITES TO RUN BPEL PROCESS TO setup complete bpel environment.
    necessary tutorials links and software to download.
    Thanks in advance K. ROY

    Hi Roy ,
    The Jdeveloper 11g does not have plugin for BPEL .
    download jdeveloper 10.1.3.4 from
    http://www.oracle.com/technology/software/products/jdev/index.html
    and run a online update for the jdeveloper . This will give you the BPEL project option.
    A very good link for learning BPEL is :
    http://www.oracle.com/technology/products/ias/bpel/htdocs/dev_support.html
    Regards
    Tushar B

  • Running BPEL process on different engine

    Hi,
    I need to proof the platform independence of BPEL, therefore i need to run my oracle jdeveloper bpel process on different engine like ActiveBPEL or Sun OpenESB engine as part of NetBeans Enterprise Pack. Any idea how to migrate my project to any other engine?
    Thx, Marian Petrik

    ok,
    Oracle conforms to the BPEL standards, but the deployment, the so called BPEL Suitecases (jar files). Furthermore the bpel.xml file is vendor specific, so using other BPEL engines, you have to conform to their syntax.
    To solve this issue, you could doing this by using JDeveloper and deploy and test as normal (against Oracle BPEL PM). Than use the ant-tool to create/collect the .bpel file can create the appropriate files for other engines.

  • Cannot deploy BPEL process with SSO to BPELConsole activated

    I cannot deploy BPEL process with SSO to BPELConsole activated. Here is the error I get from JDeveloper (sorry for the french error message):
    Problème détecté lors de la connexion au serveur "ssdvoiagu.dev.local.csst.qc.ca" sur le port "7781" : java.security.AccessControlException: access denied (com.collaxa.security.DomainPermission generique read)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
    at java.security.AccessController.checkPermission(AccessController.java:427)
    at com.collaxa.security.OC4JSecurityService.checkAccess(OC4JSecurityService.java:16)
    at com.collaxa.security.SecurityService.checkDomainAccess(SecurityService.java:26)
    at com.collaxa.cube.fe.util.ServletUtils.getLocatorWithoutUrlRewrite(ServletUtils.java:162)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:332)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Target BPEL process manager runs under SOA 10.1.3.3. When the SSO to BPELConsole is disabled, the deployment works just fine. Is there any way to make it work with SSO?

    Please check:
    http://blog.jpoot.com/category/oracle-appserver/oid-ldap/
    We had some issues with SSO and SSL but everything is running now.
    Marc

  • Email Activity Not sending email when BPEL process fails

    In 11g SOASuite I have a BPEL process which does the following,
    1) Receive response from client
    2) Email activity - Notify with an id received in the request as content
    3) Insert data into a table using db adapter
    Whenever db adapter has some key violations or issues, I notice that no emails are getting dispatched. When I look at EM console it displays that txn has been rolled back after 3rd step. I understand that but it makes me ask this question,
    How can I make the process to send an email at step2 irrespective of an error that happens down stream at step-3? How to make email activity not part of this Txn scope?
    It works as expected(emails are dispatched) when there are no issues at step-3.

    Hi,
    In order to not rollback your transactions, you need to hit a dehydration point, meaning, save your process into the db store and perform a commit until that point.
    It sounds like a simple process, so you can drag a checkpoint activity after the email activity.
    That is one option. Try, and see if it works for you.
    Arik

  • Transfrom process activity in JDeveloper

    hi
    I am trying to map some Purchase Order data fetched from Oracle Applications E-Business
    Suite to 850.xsd a definition supported by the EDI x12 business format.
    If any body has tried out a similar exercise please help me how to desing the mapping using Transform Process Activity.
    PFA the list of steps that I have followed.
    1. I have selected an async process.
    2.Created two Partner Links one to select data from Oracle Apps, by running a procedure and the other to choose the B2B docs deployed in the B2B server(850 definitions) in our case.
    3.Used a Invoke and Reply process activity
    4.Used a Assign activity to assign the variables of PO to the Transform Activity.
    5.Now in the Transform I am trying to link say Po number to a particular segment of 850 that signifies PO number. But when I am trying to test and validate the transformation its givin error.
    But to my utter surprise the BPEL process is getting complied and is also deployed successfuly on the BPEL server.Even the Audit trail from the UI of BPEL console shows the data being mapped to those required in 850.xsd
    Is the process that I have followed is the correct method. Any suggestions will be of great help
    Thanks and Regards
    Prabal

    Hi,
    Scope activity is being used as a container for other activities. Within the scope you can manage fault handling, compensation, variable declaration, correlation etc..
    When you build, or design your process, you need to consider a use of a scope activity.
    For example: You need to design a process that calls java class and a web service(or other 2 operations). You can:
    1. Use 1 scope that contains both calls. That way, if you will have an error for either one of the services, you can catch it, and do something, like terminate the process.
    2. Use 1 scope for each service call. That way, if you will have an error for either one of the services, you can catch it, and continue to the next process step (scope or other activity).
    Also, within a scope you can declare an operation that Replay the scope. That way, if something happens -> begin the scope (and its activities) from the beginning.
    There are many ways and purposes to use a scope. Again, it depends what is your requirement.
    One important thing to consider –scope can influence on performance (just to be aware of).
    Arik

  • BPEL processes not available on BPEL console when deployed from JDeveloper

    Installation: SOA Suite 10.1.3.4 (Upgraded through patch) (Standalone OC4J)
    When I deploy the BPEL processes through JDeveloper, they do not show up in the BPEL console. JDeveloper does not display any error message but in fact displays successful deploy. I am able to manually deploy processes from the BPEL console itself or by dropping in the BPEL suitcase in the deploy directory.
    I noticed this issue when I tried installing AIA foundation pack 2.4. The installation showed the message below -
    Failed to read wsdl at "http://AMVAIDYA-US:8888/orabpel/default/AIAErrorTaskAdministrationProcess/AIAErrorTaskAdministrationProcess?wsdl", because "Failed to read WSDL from http://AMVAIDYA-US:8888/orabpel/default/AIAErrorTaskAdministrationProcess/AIAErrorTaskAdministrationProcess?wsdl:WSDL not found".
    Make sure wsdl is valid. You may need to start the OraBPEL server, or make sure the related bpel process is deployed correctly.
    [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).
    I noticed that issue is independent of AIA since I cannot deploy any BPEL process through JDeveloper (or even through using the ant deploy in JDev)
    Please help!
    Thanks
    Amol

    I did try the verbose=true option but there are no errors there. The ant deploy task shows up as successful just like it shows from the right click -> Deploy to domain on the BPEL project. I created a sample async BPEL for this - it has just one assign activity with some dummy values for output. It builds fine. If I deploy the jar file created from this manually in the console it works. But it doesnt work from JDev or Ant. Is there anything I missed during the upgrade patch from 10.1.3.1 to 10.1.3.4? I did execute all the post and pre install tasks (including the orabpel, oraesb schema updates etc)
    FYI, I can register an ESB from JDeveloper and it shows up in the ESB console.

  • How I break while loop activity in BPEL process

    Hi Guys,
    I want to do a polling action in my bpel process, I put in the polling code in while activity ,
    I try two way to do the break :
    1. use the Flow activity , one sequence for while loop activity , one sequence for timeout flow , put waiting activity in it ,config timeout ... but Flow activity complete only when all branch complete . so it seems there is no way to break Flow from one branch.
    2.use onalarm branch of scope ... put while activity code in a scope activity , create onalarm branch for this scope ,config the timeout time ... but onalarm branch can't bypass the scope sequence...
    Any advice ?
    Thanks
    Kevin
    Edited by: kyi on Oct 29, 2009 1:01 PM

    The on-alarm branch of the scope should work.
    Maybe not so neat but you could try to do a scope with a flow within that. Put in one of the flow-branches a wait. After the wait throw an exception.
    You can catch that exception in a catch branch of the surrounding scope.
    Regards,
    Martien

Maybe you are looking for

  • [Solved]Control of automatic GPU switching in Linux 3.13

    I'm using the Linux Kernel 3.13 of the testing repository, I have a laptop with Hybrid Graphics ATI/Intel: 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) 01:00.0 VGA c

  • I can't open iTunes on my iPhone 4S with iOS6

    Every time when I try to open iTunes, pop-up message " cannot connect to ITunes store"  ! What I can do without going to servis?

  • BufferedReader and new line character

    Hi, Java doc of BufferedReaders' readLine method says Read a line of text. A line is considered to be terminated by any one of a line feed ('\n'), a carriage return ('\r'), or a carriage return followed immediately by a linefeed. And the returned str

  • 'REUSE_ALV_VARIANT_DEFAULT_GET'

    Hi, Good Morning. I am new to abap. Pls clarify the following doubt. We can directly use variants by creating in se38 then what is the use of the function  'REUSE_ALV_VARIANT_DEFAULT_GET' Thanks in advance. Regards, Shilpa

  • InDesign doc from multiple other InDesign docs.

    Hi, everyone. I need to create an InDesign document using other existing InDesign documents I have already created. The documents are single individual pages each and I would like to merge them all into a single document ordering the pages in a certa