Initiate BPEL process by e-mail polling lost in upgrade to 11g

So, as you would know by a simple search, "e-mail polling" or e-mail as an activation agent in BPEL 10.x works wonderfully following the guidance in the link: http://blogs.bpel-people.com/2007/01/using-email-to-initiate-bpel-process.html.
Taking that process and opening it in JDev 11g and running the upgrade process, I can't find where the activation agent configuration went. The process deploys fine, but none of the e-mails are getting picked up and starting the process. I've gotten myself lost in the Weblogic 10.3.3 configuration and can't seem to build the composite application to get e-mails flowing to a BPEL process. I've tried stuff with User Messaging Service, but that seems geared more towards the Workflow app. Also, the JavaMail looks really neat, but quite lost how to incorporate that into a BPEL workflow/composite application. I am from a BPEL background, my Java skill is medium-low.
It seems some of you have this working in 11g to poll an e-mail folder and kick-off a BPEL process. I've spent too much time muddling through the docs and not being successful and I'm not sure if my problem is Weblogic configuration or coding in the BPEL composite app. For those with this working, what do you feel is the best practice and if you can provide pointers to where I might dig further to get this working, I would really appreciate it.
Thanks!
-Colin

Hi,
Did u find the solution for this in 11g.
I am struggling too..
Please help if u have updates on it.
Thnaks
Viv

Similar Messages

  • Initiate BPEL process from incoming fax ?

    hi all,
    I found a very interesting post on Matt Wright's Blog
    [http://blogs.oracle.com/matt/2006/03/10#a26] to init a process from a incoming email.
    Do you know if we can make the same with an incoming fax?
    Thanks for your help,
    Cyryl

    Hi,
    In the past, I participated in 2 projects dealing with handling faxes or scanned documents (tiff format either way).
    In one project, we used fax software (from Kofax I believe) that was able to recognize and interpret barcodes. Based on the barcode, the fax was put into the proper dossier in an Oracle database and processed from there. In case a barcode was not detected or could not be interpreted, the document was stored in a temporary dossier and someone was assigned the task to put it in its rightful place.
    You could adopt a similar strategy and kick of a BPEL process whenever a document arives.
    Hth.
    Best regards, Sjoerd

  • 11G BPEL Process using DB Adapter Polling Wont Create Instance

    I have a BPEL project that uses DB Adapter to Poll the database for changes. This process was developed in 10.1.3.3 and migrated to 11.1.1.2. I have successfully deployed this to the weblogic server, but it will not run. It is showing that is is up and it is in active mode, but it will not run. Any suggestions on this?
    Thanks
    Edited by: user2498952 on Mar 23, 2010 8:46 PM
    Edited by: user2498952 on Mar 23, 2010 8:57 PM

    The problem was on the OS side. The firewall was up after the installation and also it was not recognizing the database name. The OS team made the changes and it begin to run.....What happen to an easy migration....
    Edited by: user2498952 on Mar 24, 2010 5:10 PM

  • How can I recover all my MAIL emails lost after upgrading to TIGER?

    Hello,
    I just bought Mac OSX Tiger today and after upgrading from the previous Mac OSX and after launching Mail, I discovered that all my INBOX emails were LOST!!!
    I still have the Draft emails, the Sent emails and Trash but no trace of my 1,425 ancient and precious INBOX emails!
    Please help me recover them. I tried lots of ways to get them back but cannot find them. I'd like to also understand what happened.
    Thank you!
    iBookG4    

    HI Greta, Did you Clean Install Tiger, or Upgrade from a previous OS? as if the latter, you might find them in the ARchived files.
    I upgraded to Tiger in December and it caused problems with mail but I didnt lose the messages. So I am thinking you did a clean install.
    Post back with more info please
    Imac FP 800Mhz 80gb 256 RAM Mac OS X (10.4.3) 512 extra Ram iLife 04 LaCie 160gb Ext Airport Express 6.1.1
    Imac FP 800Mhz 80gb 256 RAM   Mac OS X (10.4.3)   512 extra Ram iLife 04 LaCie 160gb Ext Airport Express 6.1.1

  • Using Email to initiate a BPEL Process

    Hi All,
    We have a request to process a .csv file which comes as an attachment thru Mail.
    we are able to do the setup to invoke the BPEL Process as the mail is received.
    We want to know how to get attached file in BPEL Process to process it further.
    We are using BPEL 10.1.3.
    Please help.
    Thanks and Regards,
    Vikram Singh

    There is currently no inbound email adapter afaict. If you want a quick solution on a unix system, I would advise you to write a custom shell/python/perl script that can do convert the inbound mail to a xml format and post that xml to a webservice (BPEL process). You can use 'curl' or 'wget' to post it to the BPEL process. This method is discussed in more detail at this Zwiki mail setup page (replace Zope by Oracle BPEL :).
    See also this previous Oracle forum article Re: Using email to invoke a BPEL process, which discusses this same issue.
    Hope this helps,
    Regards,
    PieterB

  • Email Initiates BPEL

    Hi,
    I am using a EMAIL to initiate BPEL process.
    Everythings working fine, however i have some problems.
    1. The mail gets deleted after being read.
    2. I want a BPEL instance to be created for only specifiic emails, say containg specific subject lines, from etc.
    Please help me on this.
    Thanks,
    Rosh

    Hi,
    for initiating a bpel with e-mail read:
    http://blogs.bpel-people.com/2007/01/using-email-to-initiate-bpel-process.html
    If you only want to filter on the mail, you can do the following:
    in
    <incomingServer>
    <protocol>[protocol pop3 or imap]</protocol>
    <host>[imap or pop3 server]</host>
    <email>[imap or pop3 account]</email>
    <password>[imap or pop3 password]</password>
    <folderName>[imap only, inbox folder ]</folderName>
    </incomingServer>
    use a foldernName and then configure your E-Mail server that the mails are copied with the filter rules you want.
    You should use the filter on the server side, because they are written exactly for this kind of work and it is not a good idea to implement this in the BPEL PM from Oracle.

  • Initiate BPEL from Email

    Hello,
    I want to initiate BPEL process form email in Oracle Soa Suite 11g. How can I do this ??

    that's the way to do it in 10g
    i think in 11g it's possible by use of the activation agents (couldn't find any info about it half a year back)
    so i think if you really want it you need to write your own java class in between which will do the polling and fire off your bpel processes

  • TNS:Operation Timed Out error while trying to invoke BPEL Process from sql

    Hi,
    I am trying to invoke a BPEL Process from PL/sql code. When i try to invoke the process, I am getting the following error message
    ORA-29273 HTTP Request Failed
    ORA:06512: at SYS.UTH_HTTP at line 1029
    ORA:12535: TNS:Operation Timed Out
    ORA:06512: at line 18
    I have the SOA suite installed on my local machine...and the BPEL process that i am trying to invoke is deployed their.
    Any idea what could be wrong..following is the code piece
    soap_request:='<?xml version="1.0" encoding="UTF-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header/>
    <soap:Body xmlns:ns1="http://xmlns.oracle.com/Test">
    <ns1:TesProcessRequest><ns1:input>is1_1land</ns1:input></ns1:TesProcessRequest>
    </soap:Body>
    </soap:Envelope>';
    dbms_output.put_line('soap_request: '||soap_request);
    utl_http.set_proxy('3.209.30.25:80', '3.209.32.149:8888');
    http_req:= utl_http.begin_request('http://3.209.32.149:8888/orabpel/default/Tes/1.0 '
                   ,'POST'
                                  ,'HTTP/1.1');
    dbms_output.put_line('after Begin Request' );
    utl_http.set_header(http_req, 'Content-Type', 'text/xml') ;
    Please advise

    you are right the file adapter doesnt invoke any bpel
    process, instead it is polling the file from
    directory location?If it is polling for new files, shouldn't it create a new instance of the BPEL process automatically the moment it finds a new file? In other words, should a new file trigger an instance of the BPEL process rather than being started from PL/SQL?
    Can this file adapter not be invoked as bpel process
    in that case?The file adapter is part of a BPEL process. The BPEL process can be invoked from e.g. PL/SQL.
    In this case this file adapeter return to an RECEIVE
    activity...I think this receive cannot be invoked as
    a BPEL process rite?Can you explain what you mean with this?
    Also , will all synchronous request return "TIMEOUT"
    error, if tried to invoke from pl/sql?Only if the synchronous process instance takes more time to complete (and thus to return) than the value specified for a time-out to occur. If the instance completes in for example 10 ms and the time-out time is specified as 30 seconds, no time-out will occur.
    Regards, Ronald

  • Issue in invoking a BPEL process (having a DB Adapter) from ESB

    Dear All,
    I am having an issue while invoking a ESB process (Batch file mode) which inturn will call a second BPEL process which will invoke the Oracle APPS standard API ego_item_pub.process_items to create an item in Inventocry, through a DB adapter
    I am able to create the Item and API is working when I pass the input XML through the second BPEL process.
    But when invoking through the ESB process which will invoke the BPEL process, based on the polling to the batch file from the ESB. This is done through an FTP adapter in ESB.
    The Issue is that while invoking from ESB, through batch file. The PL/SQL API is throwing error from the standard API 'ego_item_pub.process_items'
    But it works fine if I invoke the BPEL process individually.
    What might be the problem for this and how can I fix this..
    Please update..
    Many thanks in advance ...

    Hi,
    We tried the same thing and it worked for us. In our scenario we had a BPEL process calling a ESB and then this ESB calling another BPEL process which inturn calls the API. I agree with James it seems more of a Data issue/or your XSD is not proper i.e the XSD that you ESB process is having. If you have created a ESB and then changed the BPEL process afterward the issue you mentioned will come. Please run the process in DEBIG mode and provide the domain.log file.
    Regards
    Sahil
    http://soab2bsahil.blogspot.com

  • How to trigger BPEL process from DB insertion

    hi,
    How to initiate BPEL process when a row insert, update or delete from table.my concern is to handle different casses for all above mentioned DML.

    Check if there is are Out of the Box Events first, if there are use those. Otherwise use a custom database trigger on your custom table. Make sure that your call is not being inadvertenly called multiple times.
    --Bryan Colligan                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Empty BPEL process getting lost for multiple file reads

    Hi
    I have a empty BPEL process polling for files. It works fine when 1 or 2 files are put into the read folder.
    But when than 2 files are put the process is lost, and nothing happens.
    Is there any proper and tested method of handling this problem.
    Is tuning required is yes then what?
    We use SOA 10.1.3.1
    It would be very helpful if you would please put in your ideas and experience.
    Buddhadev

    Check your log as soon as you find that the parent process has found its way into the console. More information on logging can be found here - http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28982/logging.htm
    Not quite sure why its so, but since 10.1.3, I've observed that the console simply doesn't show errored processes at times. So, checking the log can be a starting point in diagnosing the real issue.
    HTH
    Antony

  • Get Attachment Name and from address of mail in bpel process

    Hi All,
    I am using UMS Adapter to poll email server and  getting the attachment and saving it to local disk.
    In Payload from UMS adapter  i am getting href of the attachment  but I am not able to figure out as to how to get Attachment Name and From Address of a mail in my Bpel process.
    please guide me in getting them .
    Thanks in Advance
    Divyanshu

    1. Double click on your composite receive activity.
    2. Go to Properties tab in your receive activity.
    3. Click "+".
    4. Window that pops up,scroll down and select "jca.ums.from" and store it in some variable say fromAddress (Make sure before adding this property u create fromAddress variable of string data type).
    5. Click OK.
    6. In the same way add property for "jca.ums.msg.content-description" from drop down and assing it to some variable.
    you are good to go.
    Hope this helps.
    Regards,
    Karan
    Oracle Fusion Middleware Blog

  • Database polling adapter within an asynchronous BPEL process

    Hi,
    I have a requirement to poll a database table withing an asynchronous process. The reason I want to use a receive within an asynchronous BPEL is because the process needs to be notified many times thru polling. So might need many receive activities.
    I have developed a process as described below :-
    1. Created an asynchronous process.
    2. Created a Database adapter for polling a table. Logical delete strategy is being used.
    3. Have put a receive activity from the DB Adapter created.
    4. Created a correlation set consisting of a single property(String)
    5. Created a property alias to refer to
    a. the input string of the asynchronous process. (unique for this process)
    b. the input from the database adapter (unique for this process)
    I initiate this process from the console. Then I inserted a record the table with proper inputs.
    But the BPEL waits indefinitely at the receive activity.
    When I try to poll the table from an empty BPEL process, it works perfectly fine.
    Could someone please help me here.
    Thanks in advance
    Saptarishi

    Hi,
    Could someone pls answer this query.
    Regards,
    Saptarishi

  • DBAdapter polling for new or changed records not issuing callback within an asynchronous BPEL process?

    Hi,
    I have a requirement to poll a database table withing an asynchronous process. The reason I want to use a receive within an asynchronous BPEL is because the process needs to be notified many times thru polling. So might need many receive activities.
    I have developed a process as described below :-
    1. Created an asynchronous process.
    2. Created a Database adapter for polling a table. Logical delete strategy is being used.
    3. Have put a receive activity from the DB Adapter created.
    4. Created a correlation set consisting of a single property(String)
    5. Created a property alias to refer to
    a. the input string of the asynchronous process. (unique for this process)
    b. the input from the database adapter (unique for this process)
    I initiate this process from the console. Then I inserted a record the table with proper inputs.
    But the BPEL waits indefinitely at the receive activity.
    When I try to poll the table from an empty BPEL process, it works perfectly fine.
    Regards
    Kabir

    Hi Kabir,
    Please refer the following sample for your usecase.
    Though Please be aware that one instance of BPEL process will correlate with only one message if you have one receive activity. Not all the messages tht DBAdapter polls.
    bpel-305-InboundCorrelationShows how to perform message correlation within BPEL
    Also Refer the following in Developer guide.
    http://docs.oracle.com/cd/E28280_01/dev.1111/e10224/bp_correlate.htm#CHDFHAAE
    If you want to keep polling and receiving the messages in the same BPEL process you might have to put the receive activity in a while loop construct. But as a design this is not a good design.
    Can you elaborate your requirement to understand better and suggest better solution.

  • 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.

Maybe you are looking for

  • Back up I-Tunes files to a flash drive

    I currently have my I-Tunes Library(3.67 GB)on an old Compac Presario and it will take 6 700mb discs to back it up, to be able to load it onto my new Acer laptop. How can I get I-Tunes to backup the Library to a 4 GB flash drive?

  • Select query in routing(operation,sequence)

    Hello frds,      i am into change routing BDC actually i want a select query .....for like existing of operation for a particular sequence in routing.... if i will found operation for particular sequence i will run the bdc code lese i will exit...any

  • Applescript and Sprint Aircard automation

    Hello everyone. Long time lurker, first time poster. I've been searching for a solution to my question for a while. I've found hints and explanations, but I cannot find an example and I'm very new to applescript. So, here goes: I have a Sierra 597U U

  • Automatic Refresh of Shopping Cart POWL

    We are running SRM 7.0. When a user accesses their POWL of shopping cart data, the POWL query is not automatically refreshed.  Is there a batch program or configuration setting that will allow a POWL query to be refreshed every time the user accesses

  • Apple tv download takes far too long

    How long should it take to download a movie using itunes and apple TV?