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

Similar Messages

  • Initiate BPEL from ADF Faces

    Hello All,
    I created some webservice Data controls by using BPEL process WSDL, and then made input pages for these Data controls.
    But all of these Data controls have some extra required information as below need to be inputed.
    And I can input any trash data but I can't leave them as blank.
    ReplyTo_Address
    ReplyTo_PortType
    ReplyTo_ServiceName_PortName
    ReplyTo_ServiceName
    MessageID
    Anyone have an idea on how I should hanlde these extra input?
    Regards,
    Kerr

    Hi Marc,
    The BPEL process is an async process.
    The web service should be an async one too.
    Regards,
    Kerr

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

  • Exception while calling BPEL from Java Class

    Hi All,
    I am trying to call BPEL from my Java Code. but i am getting following exception.
    java.lang.Exception: Failed to create "ejb/collaxa/system/DomainManagerBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/DomainManagerBean not found
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDomainManagerBean(BeanRegistry.java:218)
         at com.oracle.bpel.client.Locator.getDomainAuth(Locator.java:975)
         at com.oracle.bpel.client.Locator.<init>(Locator.java:73)
         at callbpel.CallBPEL.main(CallBPEL.java:40)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDomainManagerBean(BeanRegistry.java:232)
         at com.oracle.bpel.client.Locator.getDomainAuth(Locator.java:975)
         at com.oracle.bpel.client.Locator.<init>(Locator.java:73)
         at callbpel.CallBPEL.main(CallBPEL.java:40)
    Process exited with exit code 0.
    Following is my java code.
    package callbpel;
    import com.collaxa.cube.util.GUIDGenerator;
    import com.collaxa.xml.XMLHelper;
    import com.oracle.bpel.client.Locator;
    import com.oracle.bpel.client.NormalizedMessage;
    import com.oracle.bpel.client.delivery.IDeliveryService;
    import java.util.Hashtable;
    import java.util.Map;
    import com.oracle.bpel.client.ServerException;
    import java.rmi.RemoteException;
    import java.util.Properties;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import org.w3c.dom.Element;
    public class CallBPEL {
    public CallBPEL() {
    public static void main(String[] args) {
    CallBPEL callBPEL = new CallBPEL();
    Hashtable env;
    try {
    env = callBPEL.getInitialContext();
    String xml = "<ssn xmlns=\"http://services.otn.com\">" + "1234" + "</ssn>";
    Locator locator = new Locator("default",env);
    IDeliveryService deliveryService = (IDeliveryService)locator.lookupService
    (IDeliveryService.SERVICE_NAME );
    NormalizedMessage nm = new NormalizedMessage();
    nm.addPart("payload", xml);
    try {
    deliveryService.post("JavaCallingBPEL", "initiate", nm);
    System.out.println("BPELProcess HelloWorld executed!<br>");
    } catch (ServerException e) {
    e.printStackTrace();
    } catch (RemoteException e) {
    e.printStackTrace();
    } catch (NamingException e) {
    e.printStackTrace();
    } catch (ServerException e) {
    e.printStackTrace();
    private static Hashtable getInitialContext() throws NamingException {
    Hashtable env = new Hashtable();
    env.put("orabpel.platform","ias_10g");
    env.put("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
    env.put("java.naming.provider.url","opmn:ormi://localhost:6004:oc4j_soa/orabpel");
    env.put("java.naming.security.principal","oc4jadmin");
    env.put("java.naming.security.credentials","welcome1");
    return env;
    I am breaking my head since last two days. i dont know whats the problem. i have included almost all the jars in class path.
    Can anybody help me in this.
    any help is appreciated.
    Thanks,
    Nimisha

    Hi all,
    I have solved above problem but run into some other exception below
    Dec 22, 2008 12:51:34 PM oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
    WARNING: Exception returned by remote server: {0}
    com.evermind.server.rmi.RMIConnectionException: Disconnected: com.oracle.bpel.client.AbstractIdentifier; local class incompatible: stream classdesc serialVersionUID = 3174123903773674079, local class serialVersionUID = -4389351842028223514
         at com.evermind.server.rmi.RmiCallQueue.notifyQueuedThreads(RmiCallQueue.java:70)
         at com.evermind.server.rmi.RMIClientConnection.notifyQueuedThreads(RMIClientConnection.java:154)
         at com.evermind.server.rmi.RMIClientConnection.resetState(RMIClientConnection.java:128)
         at com.evermind.server.rmi.RMIConnection.receiveDisconnect(RMIConnection.java:233)
         at com.evermind.server.rmi.RMIClientConnection.receiveDisconnect(RMIClientConnection.java:140)
         at com.evermind.server.rmi.RMIConnection.handleOrmiCommand(RMIConnection.java:208)
         at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:222)
         at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152)
         at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
         at java.lang.Thread.run(Thread.java:595)
    Any Idea?
    Thanks,
    Nimisha
    Edited by: user649974 on Jan 6, 2009 10:50 AM

  • Trying to Invoke BPEL from JAVA

    Hi
    I want to invoke a bpel process deployed on 10.1.3.X SOA Server from my java program.
    I have inculded a properties file which have following details:
    orabpel.platform=ias_10g
    java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
    java.naming.provider.url=opmn:ormi://adc60009rems.us.oracle.com:6083:oc4j_soa/orabpel
    java.naming.security.principal=oc4jadmin
    java.naming.security.credentials=welcome1
    JAVA Code is:
    Locator locator = new Locator("default","bpel",props);
    IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
    NormalizedMessage nm = new NormalizedMessage( );
    nm.addPart("payload", xml );
    System.out.println(nm);
    deliveryService.post("FixXREF", "initiate", nm);
    where xml is the soap message.
    The problem is, BPEL process is getting invoked but not with the given xml.
    Input to BPEL is empty.
    Can someone please let me know, what I am missing or what is the correct process to call a BPEL from Java.
    Thanks
    Sushama

    Hi,
    how does your payload (xml) looks like? I would recommend you to start a Process using the BPEL Console and then compare both payloads. Maybe you are missing some namespaces.

  • How to transfer multiple pdfs from email to iPad ibooks

    Is there any way to transfer multiple files from email or imessage to ibooks on an Ipad?
    currently email opens each one then have to click on top to open in ibooks.  I have over 50 files and expect more to come.  I have tried hooking up ipad to the macbook that sent the files and put into ibooks that way, but it would require syncing all my media files.
    Icloud and airdrop have failed me miserably for PDFs transfer to my ipad.

    I don't know if this will help you, but for PDFs on my IPad  I use either Note Taker HD or EverNote. Both are available at App Store. However each one is a pay for app. Note Taker HD app is a one time fee. EverNote is monthly. There is also
    FileApp Pro. These are the apps I use. So I have immediate access to any and all PDF's in a second or 2. Note that these are my personal preferences only. Hope this helps. Cheers.

  • TS3276 i am unable to open web pages from email links on my ipad

    I am unable to open web pages from email links on my ipad

    A few more details might help, if nobody else recognizes this.   
    What happens when you try to open the links?
    Can you post an example of a link that doesn't work?
    Is there any particular source for the mail with the (bad) links, or is mail from all sources failing?
    If you happen to know it, what's the format of the mail message?  (Maybe the message is an image?)
    Do the embedded links work as expected from an OS X system running Mail.app, or some system and some other other mail client?
    To view the link in iOS: if you press on and hold your finger on an embedded link in most contexts, iOS will show a pop-up with the link contents, and will offer to copy it.  You can use that to acquire and post the link.  If pressing and holding on the link doesn't offer the pop-up, the format of the link itself may not be valid, or it might not really be a link.

  • Hyperlinks from email, pdf and word no longer work to connect to that webpage, though they work in IE.

    I think I recently updated firefox, in any case, I do when requested. Just in the last few days, I can no longer make hyperlinks work from email, word or pdf documents. I have to cut and paste the url. I tried doing the reset under troubleshooting, but it did not work. I tried setting the network connection to auto detect, but that did not fix it either. As I can get hyperlinks to work with internet explorer, I assume it is something with firefox. I am not a particularly savy computer user, so clear instructions would be much appreciated. Thank you.

    Try to redo the default browser (i.e make IE the default and then let Firefox do it again).
    *http://kb.mozillazine.org/Default_browser
    *https://support.mozilla.org/kb/How+to+make+Firefox+the+default+browser
    *https://support.mozilla.org/kb/Setting+Firefox+as+the+default+browser+does+not+work
    You can also check for problems with DDE.
    *http://kb.mozillazine.org/Windows_error_opening_Internet_shortcut_or_local_HTML_file_-_Firefox

  • How do I save photos from email to the photo library?

    How do I save photos from email to the photo library? I've seen an online demo of users that hold their finger or thumb over the image for a few seconds and a "save photo" window option appears. That doesn't work on my 6-month old iphone. It's version 1.1.4 (4a102) ???? Help! Anybody with an answer?

    Never mind. I figured out the 2.0 update. My system wasn't updating I-tunes...and the I-phone update option window was hidden behind some other system information. I figured it out. The download, install and re-synch took about an hour. Lots of horror stories out there about people trying to activate their new I-phones. Glad this worked for me!

  • Can I set a default Reply-From email address on my iPad/iPhone?

    In Mail for the Mac, there is an option under the Compose settings to set a default Reply-From email address for all your emails, so that, regardless of which account any email came from, you will always reply by default from one specific address. Is there a way to set a default Reply-From address on the iPad/iPhone?

    [EDIT: Sorry, mis-read question. Ignore me.]

  • How can I find out the mail server from email address?

    Hi:
    How can I find out the mail server from email address?
    for example: If I know the email address is [email protected],
    how to find the pop3 and smtp mail server?
    THANK YOU

    You can't tell by the email address since you can pretty much put whatever you want in there (especially if the SMTP server is not filtering anything).
    The header may be able to tell you something. There is a Received header value which looks like it has the routing information although I am not sure if this is a complete trace or just the last hop the message took.
    Sean

  • How can I fake my FROM email address to look like I'm sending it from work?

    I want to not have to log into my work webmail everyday and I want to just use MobileMe. I have all my work mail forwarded to MobileMe. The problem is that I don't want to ever have to log into work mail to send a message. How can I fake my from email address to look like I'm sending it from work?

    You can't do that with MobileMe. MobileMe's mail servers will only accept senders from their own domains (@mac.com and @me.com). No other senders, not even from configured personal domains, will be accepted.
    You will either have to use your companies SMTP server or, if not public available, your companies webmail.

  • When I try to print from my iPad I see a message "searching for printer" and then "no printer found.".  I have a printer application loaded and it finds my wireless printer.   How do I get the iPad to do the same so I can print from emails, the web, etc?

    When I try to print from my iPad I see a message "searching for printer" and then "no printer found.".  I have a printer application loaded and it finds my wireless printer.   How do I get the iPad to do the same so I can print from emails, the web, etc?  Thanks

    sandrafromsilver spring wrote:
    When I try to print from my iPad I see a message "searching for printer" and then "no printer found.".  I have a printer application loaded and it finds my wireless printer.   How do I get the iPad to do the same so I can print from emails, the web, etc?  Thanks
    Go to the following link:
    http://jaxov.com/2010/11/how-to-enable-airprint-service-on-mac-os-x-10-6-5/

  • Missing contact when "create new contact" from email or number

    I am having a really strange problem on my iPhone and think it will be a fun mystery to solve. Please help me!
    It is currently set up with google so that my mail/notes are using gmail IMAP and my contacts/calendars are using Google Sync. So far it's been working pretty well except for all the known many bugs and issues (please fix these, google!). I have no other email, calendar, or contact accounts set up (not even syncing with my computer).
    I received an email from a friend who I did not yet have a contact for, so in the email header I clicked her name and chose to "Create new contact." As usual, the email address was already in the "email" field, so I just edited her name and filled out the "company" field and pressed Done. The "from" field in the email updated to show that the contact had been added to my phone and that it recognized the email as being from her.
    Now, I go to add a number to her contact and when I navigate through my contacts list, her name is no where to be seen. I've tried searching through the contacts by using the search bar at the top of both the Phone and the Contacts apps, but nothing shows up. However, when I compose an email and start typing her address, it recognizes her as a contact. Even weirder, I just tried the entire phone search spotlight feature, and it found her contact right away, as if it were any normal contact. When I click on it, it brings me to her contact page, which I cannot edit, and when I press the little left arrow "Contacts" in the top left of the screen to go back to the whole listing, she's not there!
    When I go to add contacts using the little + symbol in the top right of the phone app, it works normally and the contact appears as usual. But every time I try to do a new contact from email, this happens! Choosing to "update existing contact" works fine, though. So I've been forced to create an empty contact with her name in the Phone app, and then add the email to it.
    Please help my find where in my phone this contact is residing, and how to bring it out so I can find it. I have tried force-quitting the relevant apps from the multi-task dock, and even turning off and on my phone, but to no luck.
    Update: Just tried creating a new contact from a phone number I've previously dialed and the same thing happens! Where are my contacts going?? This is so weird!
    Not sure if this is just a google sync issue, but I figured I'd post it in case other people are having similar issues
    Device: Apple iPhone 4
    Carrier: AT&T
    Country / Language: USA English
    OS: iOS 4

    I recently experienced a similar event. I was adding from Contacts "+" button on the iPhone 4. I completed entering the data & hit "done". I went back to add a photo. I hit "done" & went to test the result. No new contact. Search did not find it. Tried two more times with different contacts. Same result.
    At one point, the "All Contacts" directory went blank. Nothing. Seconds later the contacts returned. Scary. I rebooted the iPhone. No new contacts but old ones fine.
    I then entered with an old iPhone on OS 3.2 same data. Showed quickly via MobileMe. On the new iPhone added photo the photo. All OK. From an iPad, OS3 I did the same. Added photo in new phone. All OK. I added from the new iPhone including photo. All OK.
    The iPhone IOS4 reboot may be the answer. Wish I had tried older systems before reboot.

Maybe you are looking for