Processing email attahcment in bpel

Hi,
I have a requirement to parse xsl file.
I am using UMS adapter to listen for email messages.
If email has an attachment ( xls ), then I need to parse it.
I'm getting atthachment @href and with getAttachmentContent assign value to bpel variable.
How to parse file content? I am using Apache POI library using java embeed activity , but without sucesss.
Errors I received :  Your InputStream was neither an OLE2 stream, nor an OOXML stream or Invalid block type.
I am not sure - it is problem with library or incorect approach in bpel?
Is there a way to validate received file integrity when it is asigned to bpel string variable?
best regards and sorry for my english.
ronnixw.

<copy> 
  <from expression="ora:getAttachmentContent('input','bin')"/>
  <to variable="initiateTaskInput" part="payload"
  query="/taskservice:initiateTask/task:task/task:attachment/task:content"/>
</copy>
Above will copy the Attachment content which has its HREF stored in "input/bin" variable to "content" variable in base64 encoded form.
Now you can view the attachment in BPEL flow trace and parse it using BPEL Assign/XSLT.

Similar Messages

  • Process Email Attachment in Bpel and then Check-In the Document to WCC

    Hello Techies,
    I am new to Soa Application and  Bpel. I am creating a Soa Composite application(using Jdev 11.1.1.6)  which will poll for incoming Email.
    This polling is done using the UMS adapter which is working fine for me. Then i have to process the Attachment and call a service to Check-In this Attachment(a pdf File) to UCM.I have Configured the WebService activity also and included the CheckIn Wsdl to perform CheckIn operation.
    The problem lies in processing the attachment by creating a BPEL process  and then passing this attachment to Primary File parameter  of CheckIn Service.
    How can I map this Attachment to primaryFile parameter of the CheckIn service ? (I am hard coding other parameters of ChecKin Service)
    Please Help.
    Thanks In Advance

    Hi Sunil,
    Currently I dont think there is a direct way that BPEL can consume and read the contents of a XL File.
    As per current version of Oracle SOA Suite (11.1.1.6.3),
    The Oracle File and FTP Adapters can read and write the following file formats and use the adapter translator component at both design time and run time:
    •XML (both XSD- and DTD-based)
    •Delimited
    •Fixed positional
    •Binary data
    •COBOL Copybook data
    The Oracle File and FTP Adapters can also treat file contents as an opaque object and pass the contents in their original format (without performing translation). The opaque option handles binary data such as JPGs and GIFs, whose structure cannot be captured in an XSD or data you do not want to have translated.
    But you can only do work around as mentioned in the below thread:
    How to read Excel file in BPEL
    Thanks,
    Deepak.

  • How to create an excel report and send it via email using a BPEL process ?

    Hi Experts,
    I have a requirement to develop a xl report based the data in the DB table. I will have to query the list of records entered / processed during previous day, generated the xl based report and send to users via email.
    I talked to one the experts, he asked me to use the following Adapter and BPEL activities to accomplish it.
                   DBAdapter --> {BPEL  process} --> Java Embedding --> Email Activity.
    Can someone please help me to pass the information retrieved by DBAdapter to Java Embedding and then to email import? I have created DBAdapter and Java Embedding. I don't know, how to retrieve the data read / sent by DBAdapter using Java Embedding. Also please help me to pass the xl attachment to Email Activity.
    Thanks for your help in advance!
    Thanks,
    Harisudhan Selvaraj

    I would suggest something like:
    DBAdapter --> Bpel Process --> File Adapter --> write file to location (you can write in csv which can be imported into xls)
    Read Location --> FileAdapter --> Bpel Process --> Email Activity
    Regards,
    Anshul

  • How to send html email notification in bpel

    hi gurus,
    i want to send html email notification from bpel.
    before, i already successful send html email with attachment, but when i send an email without attachment, then the body message will turn into a plain text.
    as i check from the email accepted, email with attachment will have a mime type "text/html" but if no attachment then it will be "text/plain"
    from the bpel configuration, by default the mime type already set to "text/html; charset=UTF-8", below is the sample configuration in my bpel process
    [quote]
    <copy>
                                    <from>string('text/html; charset=UTF-8')</from>
                                    <to variable="varNotificationReq"
                                        part="EmailPayload">
                                        <query>ns10:Content/ns10:MimeType</query>
                                    </to>
                                </copy>
    [/quote]
    i think this suppose to be a easy configuration, but i'm not sure whether i miss something in configuration the email process or this is a bugs in bpel.
    environment:
    linux
    jdev 11.1.1.6
    do u guys ever facing a same problem or have a solution to this ? please throw some light.
    thanks
    ===
    update, i found a temporary solutions.
    so i add a attachment from the process design, and then i change it from the source.
    [quote]
    <copy>
                                    <from>
                                        <literal>
                                            <Content xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
                                                <MimeType xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">multipart/alternative</MimeType>
                                                <ContentBody xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
                                                    <MultiPart xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
                                                        <BodyPart xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
                                                            <MimeType xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
                                                            <ContentBody xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
                                                            <BodyPartName xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
                                                        </BodyPart>                                            
                                                    </MultiPart>
                                                </ContentBody>
                                            </Content>
                                        </literal>
                                    </from>
                                    <to variable="varNotificationReq"
                                        part="EmailPayload">
                                        <query>ns10:Content</query>
                                    </to>
                                </copy>
    <copy>
                                    <from>string('text/html; charset=UTF-8')</from>
                                    <to variable="varNotificationReq"
                                        part="EmailPayload">
                                        <query>ns10:Content/ns10:ContentBody/ns10:MultiPart/ns10:BodyPart[1]/ns10:MimeType</query>
                                    </to>
                                </copy>
                                <copy>
                                    <from>string('your message')</from>
                                    <to variable="varNotificationReq"
                                        part="EmailPayload">
                                        <query>ns10:Content/ns10:ContentBody/ns10:MultiPart/ns10:BodyPart[1]/ns10:ContentBody</query>
                                    </to>
                                </copy>
    [/quote]
    make sure you put the mime type multipart/alternative into the email payload content. by default, when you add attachment, it will generate mime type multipart mixed automatically.
    if you don't change it to multipart/alternative, your email will show a attachment, but actually your email doesn't contain any attachment.
    and then for the message and mimetype make sure you have that ns10:bodypart, because this email already been set as a multipart email.
    when you add attachment, by default it will generate 2 body part, first one is for the body message and the second one is for the attachment. since i only want to use the body message only, then i have to erase the second bodypart
    with this workaround, i can send a html email without attachment perfectly.
    but i have to take note, when i updating the email process from process design, then the source will be generated again automatically, and the edited one will be replaced.
    thanks.

    Make sure you upload all of the images used in your email to a server you control. Then, change your image paths to point to those uploaded images with absolute links.
    You will get marked as spam if you attempt to send images as attachments to a large list of recipients and most email clients won't download images to begin with, so make sure your html email makes sense with broken pictures.
    CSS support is spotty across email clients, if you use css, make sure it's inline, not embedded in the <head> or externally linked in the <head>. Some email clients strip out the <head> section entirely.
    Basically, you need to design your html email as if you haven't moved out of the 90's yet, as far as web design is concerned, in order to get maximum cross client compatibility.
    Then, when you're ready, I would suggest using a service like www.icontact.com or www.constantcontact.com if your subscriber list is anywhere over 100 or so recipients.

  • Problem in sending Email notification from BPEL

    Hi,
    i am trying to send email from BPEL using Email activity.Using SoaSuite10.1.3.3
    i configured the ns_emails.xml file properly as below.
    when i run the process, it is executing fine without any error.
    but i am not receiving any mail.
    even i applied patch set p6148874 also.
    below pasted is the ns_emails.xml file.
    <EmailAccount>
    <Name>Default</Name>
    <GeneralSettings>
    <FromName>Oracle BPM</FromName>
    <FromAddress>[email protected]</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>domain.com</SMTPHost>
              <SMTPPort>25</SMTPPort>          
    </OutgoingServerSettings>
    <IncomingServerSettings>
    <Server>domain.com</Server>
    <Port>110</Port>
    <Protocol>pop3</Protocol>
    <UserName>ckommalapati</UserName>
    <Password ns0:encrypted="false" xmlns:ns0="http://xmlns.oracle.com/ias/pcbpel/NotificationService">Chandu@1205</Password>
    <UseSSL>false</UseSSL>
    <Folder>Inbox</Folder>
    <PollingFrequency>1</PollingFrequency>
    <PostReadOperation>
    <MarkAsRead/>
    </PostReadOperation>
    </IncomingServerSettings>
    </EmailAccount>
    Even i tried adding <AuthenticationRequired> details to the above and its not working.
    i restarted the server after modifications.
    i tried pinging the SMTP server of my domain, and its connecting successfully.
    Could any one suggest me the solution for this problem.
    is there anything extra need to be configured for this..?
    Thanks in advance.

    Hi, ravigali :
    Following are some steps I take to set Email notification in BPEL:
    A important thing: get the right parameters of your Email server.
    Step:
    1. Alter ns_emails.xml (in D:\soft\SOASuite\product\10.1.3.1\OracleAS_1\bpel\system\services\config directory), an example is as following:
    <EmailAccounts xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"
    EmailMimeCharset=""
    NotificationMode="EMAIL">
    <EmailAccount>
    <Name>Default</Name>
    <GeneralSettings>
    <FromName>*Your Name*</FromName>
    <FromAddress>*Your Email: ***@***.com*</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>*mail.***.com*</SMTPHost>
    <SMTPPort>25</SMTPPort>
    </OutgoingServerSettings>
    <IncomingServerSettings>
    <Server>*mail.***.com*</Server>
    <Port>993</Port>
    <Protocol>IMAP</Protocol>
    <UserName>***@***.com</UserName>
    <Password ns0:encrypted="false" xmlns:ns0="http://xmlns.oracle.com/ias/pcbpel/NotificationService">***</Password>
    <UseSSL>true</UseSSL>
    <Folder>Inbox</Folder>
    <PollingFrequency>1</PollingFrequency>
    <PostReadOperation>
    <MarkAsRead/>
    </PostReadOperation>
    </IncomingServerSettings>
    </EmailAccount>
    </EmailAccounts>
    Note: the detail explain of every XML element is in http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28982/service_config.htm#sthref324 (2.2.1 Configuring the E-mail Server)
    2. Add the following property to wf_config.xml (in D:\soft\SOASuite\product\10.1.3.1\OracleAS_1\bpel\system\services\config directory):
    <property name="oracle.bpel.services.notification.publisher_interval" value="1" />
    Then the BPEL server will send notification every 1 minute. More detail about this configuration to see http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/notif.htm#sthref1678 (14.2.1 Reliable Notification Service).
    3. Re-start all SOA Suite services. (opmnctl startall)
    After the BPEL process invoke any E-mail notification activity and if we can’t receive any E-mail notification, we need to check the BPELNOTIFICATION table (ORABPEL database schema). And delete any error data in this table, then correct the E-mail notification setting through above steps and re-start all SOA Suite services.
    Thanks,
    Melody

  • Receive email and read email attachment via BPEL

    Hi All,
         Does anyone know how to or has a module on receiving email and read email attachment via BPEL.
         Im now reading and exploring UMS adapter as this activity can handle both reading email and email attachment.
         Your response/s will be very much appreciated. Thanks.

    943363 wrote:
    Hello,
    I have an Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bits on an AIX 5.3 mainframe without the enterprise web interface.
    I would like to do that process :
    a daily email is sent to the oracle instance with a CSV in attachment.
    I would like that attachment in a directory configured onto the instance.
    I have a PL/SQL procedure triggered by a job that will insert the content of the CSV in a table.
    Is that process possible with what I have ?
    Thanks in advance,
    Best Regards,
    Grégory B.Databases don't receive email. Just sftp the file and schedule a job to process it.

  • Error in 'eMail Response - Process Message' --- Error running sub-process 'eMail Response - Create Activity' at step 'Create Activity Process'.(

    Hi,
    When I was simulating the 'eMail Response - Process Message', I had been getting the below error when entering to 'Create activity Process' step.(provided all the inputs per testmode.xml file)
    Error running sub-process 'eMail Response - Create Activity' at step 'Create Activity Process'.(SBL-BPR-00183)
    I increased the log level to 5 and got the below message in log file
    ObjMgrBusServiceLog    InvokeMethod    4    0000000251b51f04:0    2013-06-10 01:30:12    Begin: Business Service 'XML Hierarchy Converter' invoke method: 'DocToHier' at 12cc4240
    ObjMgrBusServiceLog    Error    1    0000000251b51f04:0    2013-06-10 01:30:12    (xmlcnvsv.cpp (548)) SBL-EAI-00246: XML Hierarchy Converter error - empty input message, expecting an XML document in <Value> of input arguments
    I was wondering I could not find 'XML Hierarchy Converter' business service in 'eMail Response - Process Message' and 'eMail Response - Create Activity' sub process.
    Can any body help me out in this regard.
    Thanks in advance..
    Jagadeesh

    Hi Naresh,
    yes, I am using the delete polling strategy. Here is the .jca file:
    <adapter-config name="Pozadavky" adapter="Database Adapter" wsdlLocation="Pozadavky.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/DB/PozadavkyConn" UIConnectionName="PozadavkyConn" adapterRef=""/>
    <endpoint-activation portType="Pozadavky_ptt" operation="receive">
    <activation-spec className="oracle.tip.adapter.db.DBActivationSpec">
    <property name="DescriptorName" value="Pozadavky.Pozadavky"/>
    <property name="QueryName" value="PozadavkySelect"/>
    <property name="MappingsMetaDataURL" value="Pozadavky-or-mappings.xml"/>
    <property name="PollingStrategy" value="DeletePollingStrategy"/>
    <property name="PollingInterval" value="120"/>
    <property name="MaxRaiseSize" value="1"/>
    <property name="MaxTransactionSize" value="10"/>
    <property name="NumberOfThreads" value="1"/>
    <property name="ReturnSingleResultSet" value="false"/>
    </activation-spec>
    </endpoint-activation>
    </adapter-config>

  • Problem processing Email attachment when Body text exists

    Using an Email communication channel (POP3) we are successfully processing emails with an attachment of type csv or xml.
    These attachments are swapped with the Payload message then sent into an IP for processing.
    The IP splits the inbound message into multiple messages (1:n) and feeds them individually into a “For Each Block” where we perform a transformation then a send to a JDBC adapter.
    Everything works well until someone enters text into the body of the email. Then we end up with an error.
    Error handling for work item 000000102646
    Work item 000000102648: Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed
    An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor d
    An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor d
    When body text is encountered we end up with two payloads:
    1.     Main Document (application/xml)
    2.     Mail Message (multipart/alternative boundary..)
    We are currently at XI 3.0 Service 17 (SAPKB64017)
    The mail channel for the XML attachment is configured with the following Modules:
    •     localejbs/AF_Modules/PayloadSwapBean LEB
    o      swap.keyName    Content-Description
    o     swap.keyValue     MailAttachment-1
    •     ASMA with Variable Transport Binding has been selected
    •     Mail attributes (only keep attachments was selected)
    •     Message Protocol XIPAYLOAD
    •     Transport Protocol POP3
    The mail channel for the CSV attachment is set up the same except it has an additional module specification for localejbs/AF_Modules/MessageTransformBean to generate an XML document from a csv attachment.
    Has anybody had the same experience? Or suggestions?

    Maybe the error is related to the fact that the payload is not a valid XML.
    Try to send some text in body like "<test><data>abcd</data></test>" just to see if the same error occurs.
    Regards,
    Henrique.

  • Produciton workflow couldnt able to process emails

    Hi All,
    Please help me on this,
    Produciton workflow couldnt able to process emails, Following is the error am getting in logfile
    [Jan 14, 2011 10:55:57 AM GMT+00:00]:1295002557936:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:usstlz-pinfsi07.emrsn.com:10.19.84.205:-1:-1:UNEXPECTED:[SVC-
    GSM-WFMLRSVC-66768-10006 : oracle.apps.fnd.wf.mailer.NotificationFormatter.handleResEndTag]:Problem obtaining the HTML content oracle.apps.fnd.wf.common.HTTPClientExcep
    tion: Unable to invoke method HTTPClient.HTTPResponse.listHeaders caused by: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
    [Jan 14, 2011 10:55:57 AM GMT+00:00]:1295002557937:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:usstlz-pinfsi07.emrsn.com:10.19.84.205:-1:-1:UNEXPECTED:[SVC-
    GSM-WFMLRSVC-66768-10006 : oracle.apps.fnd.wf.mailer.NotificationFormatter.getFormattedMessages()]:Problem getting the HTML content -> oracle.apps.fnd.wf.mailer.Notific
    ationFormatter$FormatterSAXException: Problem obtaining the HTML content -> oracle.apps.fnd.wf.common.HTTPClientException: Unable to invoke method HTTPClient.HTTPRespon
    se.listHeaders caused by: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
    [Jan 14, 2011 10:55:57 AM GMT+00:00]:1295002557938:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:usstlz-pinfsi07.emrsn.com:10.19.84.205:-1:-1:ERROR:[SVC-GSM-W
    FMLRSVC-66768-10006 : oracle.apps.fnd.wf.mailer.SMTPMessageHandler.prepareMessages(String)]:Unable to obtain HTML content so retrying immediately
    [Jan 14, 2011 10:58:36 AM GMT+00:00]:1295002716379:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:usstlz-pinfsi07.emrsn.com:10.19.84.205:-1:-1:ERROR:[SVC-GSM-W
    FMLRSVC-66768-10006 : oracle.apps.fnd.wf.mailer.SMTPOutboundProcessor.send(Message)]:Problem encountered when sending to {[["Lumanga, Manne Jone Melendres" <Manne.Luman
    [email protected]>]]} -> javax.mail.MessagingException: 421 4.4.1 Connection timed out
    [Jan 14, 2011 10:58:36 AM GMT+00:00]:1295002716380:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:usstlz-pinfsi07.emrsn.com:10.19.84.205:-1:-1:ERROR:[SVC-GSM-W
    FMLRSVC-66768-10006 : oracle.apps.fnd.wf.mailer.SMTPMessageHandler.sendMessages(String)]:MessagingException -> javax.mail.MessagingException: 421 4.4.1 Connection timed
    out
    Thanks

    Pl post details of OS, database and EBS versions.
    >
    tion: Unable to invoke method HTTPClient.HTTPResponse.listHeaders caused by: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
    >
    Pl see if these MOS Docs can help
    javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr sending Notifications          (Doc ID 315390.1)
    Java Notification Mailer Fails to Send Email Notifications with Framework Regions          (Doc ID 339718.1)
    Problem obtaining the HTML content oracle.apps.fnd.wf.common.HTTPClientException          (Doc ID 367483.1)
    HTH
    Srini

  • How to invoke Bpel process  from java using 'bpel process WSDL'

    I want to call bpel process from java using bpel wsdl.
    could any one point me to any url/sample.
    Thanks
    Nagajyothy

    Hi Seshagiri,
    Thanks for providing links and initial steps to create web service proxy(using Jdeveloper 11g).
    I created a web service proxy.
    provided the needed inputs.
    when I ran the client app, bpel process(has a human task) got invoked but faulted with exception as below
    Operation 'initiateTask' failed with exception 'EJB Exception: : java.lang.ExceptionInInitializerError[[
         at oracle.tip.pc.services.common.ServiceFactory.getAuthorizationServiceInstance(ServiceFactory.java:147)
         at oracle.bpel.services.workflow.task.impl.TaskService.initiateTask(TaskService.java:1159)
         at oracle.bpel.services.workflow.task.impl.TaskService.initiateTask(TaskService.java:502)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
    please help me in solving the above problem.
    Thanks
    Nagajyothy

  • How to Get the Parent Process ID from Child BPEL Process

    Hi All,
    We have a requirement to get the Parent BPEL Process ID from Child BPEL Process. One way is we can pass the Parent BPEL process ID from Parent BPEL Process to Child BPEL process. Is there any standard function available to get the Parent BPEL process ID from Child Process?
    P.S: We are using BPEL 10.1.3 Version.
    Please share any info on this.
    Thanks in Advance,
    Saravana

    Hi Saravana,
    The existing methods in 10.1.3x allow a following (a bit of a convoluted way):
    In a BPEL Java embedding activity, you can use the following code to get the parentProcessname:
    String parentInstanceId = getParentId();
    String parentProcessname = getLocator().locator.lookupInstance(parentInstanceId).getProcess().getProcessId().getProcessId();Hope this helps,
    Regards,
    Shanmu
    http://www.prshanmu.com/articles/

  • Send Email using Email Activity in BPEL

    Hi Everybody,
    I am trying to send email using email activity in BPEL
    All that I have done is,
    1.dropped Email activity between recieve i/p and reply o/p in my bpel project
    2.written all parameters in it like Default, To ,from etc.
    3.made changes in the ns_emails.xml in .........bpel/systems/services/config & in .......integration/esb/config
    4.restarted SOA,Jdeveloper
    --> but I was not succeeded.
    So please provide me with complete solution like what parameters to pass in smtp server,port no,protocols etc and which file to change in which directory. my work is pending just because of this.
    I would be very grateful to you.
    thanks in advance.
    mansoor.

    hi Eric,
    thanks once again for your instant reply.
    but still I am not able to send Email from bpel so I would be requiring your more help.
    I have gone through below link where you helped someone last year.
    Email
    As per this link I have downloaded the patch and tried but no result.
    in above link I have not understood one thing
    "the ip-address of soa-suite-server is allowed to make use of the smtp?
    you need to add this address in the mailserver-config "
    which was said by you.
    So can you please provide me the details.
    Also I wanted to know how we can come to know that our SOA suite will allow mail server to send Email.how to link mail server to SOA suite etc.
    So please help me out .
    thanks in advance.
    mansoor.

  • Email attachment in BPEL

    Hi,
    I am working on Oracle BPEL 11g.I want to send an email with an attachments of pdf files.But the problem is i am getting mail on the email server but the email doesn't contains any attachments..its just the mail which gets delievered to the "To" address.
    Please help me out its very urgent.I need to send an email with pdf files as attachments so is there any link or tutorial which can follow to sucessfully do the task.
    i have also completed the SendEmailWithAttachments.jws tutorial but its not working.Anyone who has completed the email with attachments please forward me the steps to do so will be very helpful
    Thanks in advence
    Irfan
    Edited by: Irfan Shaikh on Jan 18, 2012 4:13 PM

    Hi,
    I want to send an .pdf file by adding an attachment in the email activity in BPEL..SO please if you can send me the step step procedure to do this will be helpful.This is what the exception i am getting
    <exception class="java.lang.NullPointerException">messsage cannot be null
    <stack>
    There are many other lines in this exception
    </stack>
    </exception>
    Tnahks & Regards
    Irfan
    Edited by: Irfan Shaikh on Jan 24, 2012 7:23 PM

  • Need help to setup UMS adapter for email polling using BPEL

    I am trying to use UMS adapter to read emails from a mailbox.
    I have followed the link(http://technology.amis.nl/2012/05/18/proces-email-with-the-new-ums-adapter-of-soa-suite-ps5/) to do the setup.
    But after the BPEL deployment in the logs i am seeing the below error:; Please help me on this.
    java.lang.Exception: Cannot locate Java class oracle.tip.adapter.ums.inbound.UmsActivationSpec
    at oracle.integration.platform.blocks.adapter.fw.util.SCALifecycleNotifier.getActionSpecClass(SCALifecycleNotifier.java:232)
    at oracle.integration.platform.blocks.adapter.fw.util.SCALifecycleNotifier.onLifecycleEventActivationSpec(SCALifecycleNotifier.java:184)
    at oracle.integration.platform.blocks.adapter.fw.util.SCALifecycleNotifier.onEvent(SCALifecycleNotifier.java:128)
    at oracle.integration.platform.blocks.adapter.fw.util.SCALifecycleNotifier.onLoad(SCALifecycleNotifier.java:92)
    at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry$AdapterServiceRevision.endpointLoad(AdapterServiceRevisionRegistry.java:565)
    at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry$AdapterServiceRevision.activate(AdapterServiceRevisionRegistry.java:443)
    at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry$AdapterServiceRevision.setDefaultRevision(AdapterServiceRevisionRegistry.java:409)
    at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry$AdapterServiceSeries.setDefaultRevision(AdapterServiceRevisionRegistry.java:334)
    at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry$AdapterServiceSeriesSet.setDefaultRevision(AdapterServiceRevisionRegistry.java:140)
    at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry.setDefaultRevision(AdapterServiceRevisionRegistry.java:103)
    at oracle.integration.platform.blocks.adapter.AdapterService.defaultRevisionChanged(AdapterService.java:348)
    at oracle.integration.platform.blocks.deploy.StandaloneCompositeDeploymentCoordinatorImpl.notifyDefaultRevisionListeners(StandaloneCompositeDeploymentCoordinatorImpl.java:249)
    at oracle.integration.platform.blocks.deploy.StandaloneCompositeDeploymentCoordinatorImpl.coordinateCompositeDeployment(StandaloneCompositeDeploymentCoordinatorImpl.java:69)
    at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deployNewComposite(BaseDeployProcessor.java:415)
    at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deploySARs(BaseDeployProcessor.java:250)
    at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:168)
    at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:112)
    at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeploy(DeployProcessor.java:100)
    at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.process(DeployProcessor.java:81)
    at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPostInsideLoggingSession(CompositeDeployerServlet.java:219)
    at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPost(CompositeDeployerServlet.java:130)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    Regards,
    Syam

    Syam,
    In PS5, this feature was introduced in preview mode and is not recommended to be used in production. Please use PS6 (11.1.1.7.0) if you want to implement this feature for a production solution.
    java.lang.Exception: Cannot locate Java class oracle.tip.adapter.ums.inbound.UmsActivationSpecMake sure that you have installed the UMSAdapter.rar on SOA servers (step#2 of above mentioned blog).
    Regards,
    Anuj

  • Email sending in BPEL

    I have created a BPEL process which is used to send emails. Its working properly. But as per the requirment I have to pass the 'from account' dynamically in the runtime. Please help me to solve the issue.
    Currently I have hardcoded the 'from account' email id in Workflow Notification Properties
    Thanks in advance for your suggestion.

    Thanks for d link..But unfortunetly my prob has not been solved. I hv already developed the bpel process to send emails which is working properly, but I want to set the from address dynamically at the runtime instead of mentioning it in the xml file xml file.

Maybe you are looking for

  • Is there a way to force a user to view all of Accordion Widget?

    Is there a way to force a user to read, or at least view, all sections of the Accordion Widget? We want to make sure the learner reads all of the material before advancing to the next slide. Is there a way to do this? I have searched all over, but I

  • Moving iTunes library from PC to Mac using external hard drive

    Hi there, I recently bought myself a MacBook Air. This is my first Apple computer as I'd always used Windows before. On my old computer (running Vista), I built up a huge iTunes library. I really want to move this over to my Mac but there are two thi

  • Error finding a domain controller

    Hi, I have an error in finding a windows domain controller when a PC bootup and does a network access via a Cisco wireless PCMCIA card (AIR PCM-352) managed by Cisco ACU. This is the situation: - the operating system of the PC is Windows XP sp2 - the

  • Print button option, is there one?

    Im looking for a way to add the Print function when adding interactive/button options to a button within indesign. Short of adding the print function to my final art PDF using the tools within Acrobat, how can I skip that step and add the print funct

  • Copy reports from one business objects server to another

    How do I copy all the reports published in my production BO server to my test server. I did this once but can not remember. Is it the import wizzard?