Email Parsing Adapter

Email Parsing Adapter
An interesting idea - what about an email parsing adapter?  It would be too cool to have an email agent that was configurable by email account (pop, smtp, etc.) and typical account settings, that could skim emails for name value pairs or something similar.  Not sure how it would be configured, but the idea being that you could accept changes to services based on emails into a specific email box (comments, updates of tasks, etc.)

eGain seems pretty robust (though we aren't using it and I don't know much about it, so that's not an official endorsement), but I don't know that I'm talking about a full-scale enterprise application integration, but rather something simple - a basic, configurable, email parsing agent with a couple of options so that it can support diffent types of email environments.

Similar Messages

  • Error:SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to read request. --- There is an error in XML document (1, 447). --- Input string was not in a correct format.

    Hi All,
        We have a scenario of FTP-->PI---> Webservice.  While triggering the data in the FTP, it is failing in the PI with the below error
    SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to read request. ---> There is an error in XML document (1, 447). ---> Input string was not in a correct format.
    Can you please help?

    Hi Raja- It seems to be a data quality issue.
    Check for the value @ 1447 position in the xml message that you are trying to send to web service..
    may be a date filed/decimal value which is not in expected format.

  • XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault

    Hi Experts,
    I am trying to create a scenario SOAP to SOAP through AAE. There is no mapping involved.
    Sender is a 3rd Party application and receiver is SAP BusinessObjects [BI].
    Following error is coming when posting the message from SOAPUI or through integration engine.
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: String index out of range: 0
    I have done following workaround.
    1) I tried the message flow through AAE, but same error in the channel
    2) I checked creating a one to one mapping with soap fault message. Still the same error.
    3)  "XMBWS.NoSOAPIgnoreStatusCode = true" in module tab -> Module configuration
    When I tried this mentioned option, the message is passing through the channel but the passing blank empty payload.
    I have checked following links.
    http://forums.sdn.sap.com/thread.jspa?threadID=156305
    http://forums.sdn.sap.com/thread.jspa?threadID=2111959
    http://forums.sdn.sap.com/thread.jspa?threadID=1675917&tstart=0
    Any pointers on this subject will be very much helpful
    Thanks
    Ray..

    Hello,
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: String index out of range: 0
    When I tried this mentioned option, the message is passing through the channel but the passing blank empty payload.
    Probably because the return is blank. If this is expected, can you just use Java Mapping to parse the blank response?
    Hope this helps,
    Mark

  • XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: No such operation

    Hi,
    I am doing a SOAP - PI - SOAP scenario.
    When I tested my scenario, I am getting this error in wsnavigator:
      Web service returned error. Fault code: "(http://schemas.xmlsoap.org/soap/envelope/)Server" Fault String: "Server Error".
    When I checked in SXMB_MONI, I get this error in the response message:
    <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: No such operation</SAP:AdditionalText>
    I searched thru the forums but I am not finding this similar issue.
    "no such operation" issues posted here usually have an operation name after.
    I would appreciate your help.
    Thanks,
    mae

    HI
    WSDL is having some problem
    When you imported this wsdl how many messages does it show. Check weather it is having SETCOMPANYFIELDVALUE request and response. you can check the messages carried in a wsdl using the messages tab in external definition.
    Thanks

  • PARSING ADAPTER.SOAP_EXCEPTION

    Hi,
    I am Integrating Sap(RFC) with Webservice(Soap) using XI.
    I uploaded the FM and Wsdl file.
    For Wsdl I created Message Interface having Inbound Asychronous.
    I have done mapping,Interface mapping and Activated.
    For ID Part I am Using Two Business System , 1 for Sender and 1 for Receiver.
    I created Sender Communication channel and Receiver communication Channel,
    SenderAgreement,Receiver Determination,Interface Determination,Receiver Agreement.
    Then Activated.
    I Executed the Scenario It is throwing Error in RWB as
    PARSING>>>>>>>ADAPTER.SOAP_EXCEPTION .
    Wat it means.
    I am Going The Scenario for Webservice Receiver for the First Time.
    Points will be awarded for the answer.

    Hi
    Look into this Blog
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    Also these threads might help u
    SOAP Adapter Exception
    SOAP Adapter Exception
    SOAP adapter exception
    SOAP receiver exception problem
    Issue with SOAP Adapter calling a Web Service
    error in connecting to sender soap adapter
    http://help.sap.com/saphelp_nw2004s/helpdata/en/29/5bd93f130f9215e10000000a155106/content.htm
    **********Reward points if usefullll***********

  • Email Parser

    Hi All,
    This is my first email to this forum.
    Can someone please help me.
    I need an Java email parser to parse HTML Emails. I need to strip off the html tags from the email.
    Thanks,
    Manasa

    Yes , i understand what you are saying but the reason i need a parser is; if a html email is retrived as a text email then i will loose all the formatting which is in the email. I need to get rid of styles but keep the new lines and spaces so that the output looks good.
    Iam going to use this output from the email to display on webpage.
    Thanks for help.
    But if you can tell me what kind of parsers would be the best to use and where can i find some information then it would be very helpful to me
    Thanks,
    Manasa

  • HTML tag strip (email parsing use case)

    Have you guys come across the requirements of parsing a HTML message, lets say an email, and convert into text?
    The most common use case would be email parsing, remove all the HTML tags and use as string.
    It has to remove the entire tags, with attributes, for example tables, with TRs and TDs with properties, must be removed. The BR converted into carriage return, etc?
    Cheers,
    Renato Fichmann

    Derek,
    In my situation, I'm triggering a process from an email. I need to extract information out of this email but it's not formatted as XHTML. I don't know there's an easy way to preprocess the email first before trying to disect it.
    I'm working on an alternative solution but that relys on the people sending me the email to grant direct access to their systems.
    Hopefully there'll be some funky string functions like this in upcoming releases??
    Ryan

  • Email UMS Adapter returning invalid attachments href code

    Hello,
    Trying to process emails with the UMS Adapter I'm having a problem.
    The href value that the attachments have are invalid. For instance:
    <inputVariable>
      <part  name="body">
      <ns0:message>
      <payload  xsi:type="xs:string"> testing </payload>
      <attachment>
      <Attachment  href="1"/>
      <Attachment  href="2"/>
      <Attachment  href="3"/>
      </attachment>
      </ns0:message>
      </part>
    </inputVariable>
    It saw it was strange because on the samples I've found the href property is always a GUID or similar code.
    I've tried to get the contents for any of the attachments but I'n getting the following error:
    javax.xml.xpath.XPathExpressionException: Cannot load attachment with dbKey: 2
            at oracle.xml.xpath.JXPathExpression.evaluate(JXPathExpression.java:242)
            at com.collaxa.cube.xml.xpath.BPELXPathUtil.evaluate(BPELXPathUtil.java:247)
    Does anyone know the reason for this? and how to solve it?
    Thanks,
    Daniel Alves

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

  • How to refer MessageID in email receiver adapter

    Hi All,
    We are using module configuration in Receiver Mail adapter to send emails. Below is my configuration. (We are using SAP PI 7.11). Emails are being sent. However I am trying to include messageID in the email body however I could not.
    I have defined MessageID as a param in my XSLT  However i still don't see messageID. Do i need to do anything extra in Module configuration?
    Any pointers is greatly appreciated..
    <xsl:param name="MessageId"/>
    <Subject>
              <xsl:value-of select="concat($subject, $MessageId)" />
    </Subject>
    Below is my configuration..
    Parameter/General tab:
    Message Protocol : XIPAYLOAD
    Use Mail package option is selected.
    Content Encoding = none
    Module tab:
    Processing Sequnce:
    AF_Modules/MessageTransformBean : XSLT
    sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean : mail
    Module Configuration:
    XSLT Transform.Class com.sap.aii.af.sdk.xi.adapter.XSLTConversion
    XSLT Conversion.XSLTFileName /tmp/GL_POST_RESPONSE_EMAIL.xsl

    Hi Chirag,
    Thanks for the response. I am having MessageId above the template match tag. But message ID is still not accessible within the XSLT. It is probably because XSL is used in the mail adapter module configuration. Is there any way to include the message ID in the receiver email adapter setup?
    <xsl:param name="MessageId"/>
    <xsl:param name="RefToMessageId"/>
    <!<xsl:param name="inputparam"/>>
    <xsl:template match="/">

  • Read In Email, parsing Attachments and converting them to PDF

    Dear Forum,
    When an email arrives, I want to check wether there are attachments present in this email. When there are .GIF, .PNG or .TIFF files attached, I want to convert them to a PDF.
    Does anybody knows how to do one of these steps in Java?
    1) parsing attachments out of email
    2)converting them to PDF
    Thank you,
    Stefan Tysbaert

    In your JavaMail download there is a directory containing examples of JavaMail code. One of those examples covers your first question.
    And the second question ("How do I convert a GIF file to PDF?") isn't a question about JavaMail.

  • Email Parsing - Subject, From, To, etc

    I'd like to use Java to parse emails to get things like the subject line, from email address, to email address, etc. Where is a good place to start? After I get the parsing done, I'll later be doing more to work an filtering spam and viruses. But, first things first...

    We have the .eml files stored in a folder on our server. We want to read the .eml files and then do the parsing. I see there are functions like getFrom and getSubject that might be useful. However, I'm not sure how to create a message from this .eml file. Trying a real basic example like this doesn't work:
    email = "from:[email protected]";
    MimeMessage message = new MimeMessage(mailSession, email);
    System.out.println(message.getFrom());
    What am I doing wrong?
    Edited by: natel on Jan 29, 2008 10:39 AM

  • EMail Receiver adapter.

    Hi All,
    Please send me documents for File to Mail Scenario.
    1. If I want to send mail content as attachment then do I need to select Message Protocol as XIPAYLOAD or XIALL ?
    2. If I want my mail content should come as message format in my mail and not as attachment then do I need to select Message Protocol as XIPAYLOAD or XIALL ?
    Regards

    Hi Rick,
    Mail Adapter Scenario:
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    Messages with Attachments:
    The specified item was not found.
    The specified item was not found.
    eMail Report as Attachment (Excel/Word)
    http://www.riyaz.net/blog/index.php/2008/02/23/xipi-sending-emails-using-xi-mail-adapter/
    http://****************/Tutorials/XI/IDoctoMail/demo.htm
    The specified item was not found.
    Regards,
    Vinod.

  • C4C Integration issue XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault

    Hi All,
    Scenario: ECC to C4C
    I am getting below error while pushing message to C4C using SOAP channel with Http Protocol.
    SOAP channel has been configured with SSL Authentication.
    Regards,
    Mani

    Hi Manikandan,
    Use TCPGW tool to see the response from C4C, it is very useful for trouble shooting this kind of errors.
    Troubleshooting SOAP, HTTP and Mail Adapter Scenarios with TCPGateway
    Regards,
    Praveen.

  • Process attachments with sender email adapter

    Hi @ all,
    I have some problems dealing with xml attachments on emails. I configured the email sender adapter by using Michals Blog
    <a href="/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step:///people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    Unfortunately the mail header looks different as the one in the blog:
    <b>Content-ID: <[email protected]>
    Content-Type: application/octet-stream;name="[email protected]"
    Content-Disposition: attachment;filename="MailAttachment-1.bin"
    Content-Description: MailAttachment-1</b>
    What can I do to make it look like in the blog?
    thanks and Regards.
    Oliver.

    Hi,
    Try With the Following Blogs
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/content.htm
    Reward Points if Helpful
    Regards
    Khanna

  • PI 7.1 IMAP email Adapter Error reading large amounts of emails

    Hi,
    are there any known problems with the email-Adapter (Sender), reading IMAP MS Exchange Server?
    We have an email adapter reading the MS Exchange Server Mail Account once per Minute and in the mail account are about 4.000 unread email  (1KB each) .
    After 2000 emails, the adapter stops working and throws only exceptions.
    Any idea?
    Thanks
    hs

    Hi Holger,
    i made a few tests at that time, and there was no specific scenario which re-produced this error.
    In some tests i was able to process more than 3000 emails before the error occured, next time only 2000.
    And this only occured when the inbox had a huge amount of emails. if i moved, lets say 1000 emails to a temporary folder,
    processed 1000 and then moved the 1000 back to the inbox, there was no problem. Now i'm polling every minute and i'm
    not receiving 2000 emails in a minute, so i'm not having this issue anymore. it only happend when we stopped the
    sender channel for a while and a lot of emails were queuing up in the inbox.  I don't think that there are any MS Exchange settings that need to be changed and when we spoke to Support that time, they refered to the Note i mentioned earlier.
    Maybe there is still a problem in the mail adapter itself..
    regards,
    Daniel

Maybe you are looking for