Attachment in XI message

Hi all,
Does anyone out there know how to create an attachment from the payload of an XI message (in order to send it via the SOAP-adapter out to a receiver party)? I've tried to do so using the MessageTransformBean, but it doesn't seem to work (as parameters I use only the MIME-header elements like ContentDisposition). Anything wrong with that? Does anybody have experience with this Bean??
Thanks for all kind of answers/remarks/etc
Regards, Fred

Hi Fred,
Have a look at this thread:
Re: How to create Inbound SOAP With Attachments
I'm sorry, I didn't realize that you have posted this thread earlier.
Rgds,
Sam Raju

Similar Messages

  • Is there any way to automatically add an attachment to a message in Mail?

    Hi,
    I have to responsd to a lot of emails with basically the same response. I use a TextExpander snippet for the body of these messages. However, I usually need to attach a PDF file as well.
    Is there anyway to automate attaching a PDF attachement to a message in Mail?
    Perhaps, this can be done by adding the attachment into a Signature, although I havent seen a way to do this.
    Or perhaps, some kind of Automator scritpt?
    The mail account is actually a Google Apps account, so perhaps there is a way to have the GMail server do something to the message on the way out?
    Thanks

    it's fairly easy to create an outgoing message with attachments in applescript; just use a script like the following:
    tell application "Mail"
              set newMess to make new outgoing message with properties {visible:true, subject:"test emal"}
              tell newMess
      make new attachment at end of attachments with properties {file name:"/path/to/attachment"}
              end tell
    end tell
    it's extremely difficult to add an attachment to an outgoing email that's already been created, however (there's no easy way in applescript to get a reference to an open outgoing message window if the script did not make the window itself).  I'm not sure which you had in mind.

  • The " insert task " cannot be sent. It may be an attachment of another message (ERROR)

    Whenever a particular person in my organization sends a task to another particular person and that receiving person clicks to accept, everything seems normal as they get "Edit the response before sending" or "Send the response now". Now
    the problem arises when you click (whichever of the 2 options) to send the response, the task does not get accepted and it is not being added to the task list of the receiving person. When you try to click "accept" again the following error comes:
    The "<insert task>" cannot be sent. It may be an attachment of another message
    It only happens to a specific person receiving tasks from another specific person. I tried using a whole new computer and a fresh "Outlook 2010", but I receive the same error whenever tasks are being sent from that person. Tasks that are sent from
    other people are received and accepted well. The account of the person who sends the tasks seems to be in order (other people can accept his tasks).
    If anyone knows a possible cause or solution to this, I would be more than grateful to that person if such information was shared. Thank you.

    Hi,
    What type of email account are the two users using?
    If it's an IMAP account, please try moving/copying the task to a local pst's Inbox on the recipient's side and then try accepting it from the local pst's Inbox to see the result.
    In addition, other community members who had this problem are using IMAP and a few were able to work around the issue by switching to POP3. You may also have a try and let me know the
    result.
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to attach image to message?

    How do attach images to messages?
    I found a discussion here about screen shots, but I can't believe there isn't an easier way to attach images.
    Thanks,
    James

    Hi James!
    Once you have uploaded an image or screen shot, to a site like one of those linked to below,
    this is the HTML formatting to use, <img src="Insert URL Here"> to insert it into a post on  Discussions.
    Flickr
    ImageShack
    PhotoBucket
    Twango
    Some ISPs, also offer FTP storage space for uploading files.
    I often use my AOL storage space.
    ali b

  • Attach mail (.eml) messages to sd invoices using abap

    Good morning,
    I need a abap report to attach outlook express messages (.EML) to SD Invoices (using SapOffice?). Can anyone give an help? Is there any function-module,
    or exemple program to solve this problem?
    The idea is to strore attached to the sd invoice, the EDI messages exchanged outside of R/3 (using an external non-sap system). Those messages are have .eml format
    Thank you

    Hello,
    thanks for your help, but this is my first experience with document management in SAP, and it´s not clear for me what I have to do, as those examples are for outbound documents (sent from sap). I want to store inbound documents (import external files and link them to SD Billing documents in R/3, probably using my Archive system). It seems to me that Sapoffice document store should be perfect for this, as I would not need to do any additional work in order to open the documents latter.
    This is what I want to do: in VF03 (Change billing document) I select "Create Attachment" option and browse for a .eml file (outlook express msg) in order to store it and display it latter.
    This is perfect. Now I need to do this in abap, as this can not be a manual process.
    Can you please give me some additional details on how to get this working?
    Thank you
    Best regards

  • Attaching segment to Message type.

    Hello ,
    How are segments attached to a Message type. I want to know the step wise process if any as i am a novice in this field.
    Regards,
    Vinod Kapote.

    Hi Vinod
    Plse go to the below link
    http://help.sap.com/saphelp_47x200/helpdata/en/dc/6b82b043d711d1893e0000e8323c4f/frameset.htm
    Regards
    Anis

  • After updating to Mavericks, I can't seem to open files to attach to gmail messages.

    After updating to Mavericks, I can't seem to open files to attach to gmail messages. I can still drag and drop into them, but I'm unable to click on my documents through the paperclip icon on the bottom of composing my message.  Anyone else know a solution or facing the same issue?
    Thanks!

    Select
    View ▹ Show View Options
    from the menu bar. In the dialog that opens, select
    Arrange by: None

  • I get photos attached to Instant Messages, but despite good wifi connection, suddenly the photos won't load to full frame, any thoughts?

    I get photos attached to Instant Messages, but despite good wifi connection, suddenly the photos won't load to full frame, any thoughts?

    Does the ext directory have the php_oci8.dll? In the original steps the PHP dir is renamed. In the given php.in the extension_dir looks like it has been updated correctly. Since PHP distributes php_oci8.dll by default I reckon there would be a very good chance that the problem was somewhere else. Since this is an old thread I don't think we'll get much value from speculation.
    -- cj

  • HT5622 I keep getting emails stating that my password had been changed but the name attached to the message is not minr but it's my email address. Is someone using my email address to sign into FaceTime or other Apple Programs?

    I keep getting emails stating that my password had been changed but the name attached to the message is not minr but it's my email address. Is someone using my email address to sign into FaceTime or other Apple Programs?

    Of you're being phished. There are a lot of phishing scams going around right now with bad guys trying to get access to apple ID's.
    Anytime you want to verify the info, do not click on any links in the mail, but open up iTUnes on your computer and check things out that way.
    If you want to verify if anything is wrong http://www.apple.com/support/appleid/contact/
    contact apple on your own and see what they say.

  • Cannot open pictures attached to text messages...

    When I attempt to open pictures or attachments attached to text messages the screen goes to black and it says "loading" but nothing happens...any thoughts?

    Try a reset. Hold the sleep/wake and home buttons together until you see the Apple logo and then release. After the phone restarts, see what happens.

  • Hi I cannot send photos as an attachment to a message is there something on my phone that is blocking them.

    Hi I cannot send photos as an attachment to a message is there something on my phone that is blocking them.

    Does "message" mean you are trying to send photos as part of a text message?
    If so, you need two things:
    1.  Settings > Message > MMS Messaging = "on"
    2.  You must have MMS messaging enabled with your cellular carrier.  Often this costs more than simple text messaging (SMS).

  • User account icon attached to outgoing messages

    I was wondering if there is a way to keep Mail from attaching my user account icon to all outgoing messages. Thanks.

    it's not actually attached to outgoing messages and your e-mail recipients won't see it.

  • Extracting and saving PDF attachment from a message attached to another message

    Hello,
    I have an odd situation here and require some help, please. This is related to Outlook 2010
    A customer sends me some emails with an Invoice in PDF.  The problem is that these PDF files are attached to a message that is attached to the email sent to me.
    I need to automatically save the Invoice PDF files in a network folder (Z:\TEMP, for example) however the problem is that I just can't run a script to save the attachment (I already found many VBA scripts out there and they work fine) otherwise
    I will have a MSG file, not the PDF I want.
    My solution would be moving first the attached message to an Outlook folder and then automatically run a script that extracts the PDF from the attachment and saves it in the network folder.
    Does anybody have any idea on how to achieve that using a VBA script and / or an Outlook rule ?
    Thanks
    Marcelo

    Hi,
    It's better to post programming related questions in one of the following two forums:
    Outlook for Developers
    http://social.msdn.microsoft.com/Forums/en-US/outlookdev
    Microsoft Office Customization and Programming
    http://answers.microsoft.com/en-us/office/forum/customize?page=1&tab=all
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thank you for your understanding.
    Steve Fan
    TechNet Community Support

  • Attaching video to message

    why does it always say when I try to attach a video Message size limit reached.  Sorry you cannot atach this to your message.  How can I send a video.  It doesn't seem to matter how short I make it it won't attach.  What can I do?  It resizes my photo's automatically why not the video's?

    in your video settings, change it to the lowest resolution (if your trying to send this via text message). the camera is great on these phones, but the file size is huge. if it's emails that are giving you that message then check your phone's settings to see if there is a limit on the size that can be sent (text attachments may have a setting for that too???) i know i had to go into my email settings to change the file size i would accept, but i don't recall if there was an option to increase what you can send?

  • Everytime I start a new text message there is already a video attachment in the message.  I tried removing it , resetting the phone, deleting that video, etc..no help.  If I start a new text, the video is embedded by default, help.

    Everytime I start a new text message there is already a video attachment in the message.  I tried removing it , resetting the phone, deleting that video, etc..no help.  If I start a new text, the video is embedded by default, help.  Its almost as if its a part of my signature but its not.  I took the video from an email message, and sent it via sms/mms to a friend, since then it just appear in every new message I create, regardless of who it is going to.  I thought maybe imessage got messed up so I turned it off and back on, still there.

    I ended up resetting my phone by erasing all contents and settings.  Not ideal, but I was getting pretty frustrated with it.  Anyway, it worked.  I hope Apple figures this out cause I don't want to have to reset again if this happens again.  good luck.

  • Adding PDF file as attachment to SOAP message

    Hi,
    I want to add a pdf file from the hard disk to a soap message as attachment. I have the following code:
    // CREATE MESSAGE
    SOAPMessage msg= fac.createMessage();
    SOAPEnvelope nEnv= msg.getSOAPPart().getEnvelope();      
    //READ FILE FROM THE HD
    String pdfFileName = "somepdffile.pdf";      
    FileReader fr = new FileReader(pdfFileName);
    BufferedReader buffr = new BufferedReader(fr);
    String sPdf="";
    String line = testB.readLine();
    while(line!=null)
    sPdf += line;
    line = testB.readLine();
    //WRITE THE FILE TO BYTE ARRAY AND THEN TO STREAM
    byte[] pdfData = sPdf.getBytes();
    ByteArrayInputStream stream = new ByteArrayInputStream(pdfData);
    //CREATE ATTACHMENT ADD THE STREAM AS CONTENT
    AttachmentPart attPDF = msg.createAttachmentPart();          
    attPDF.setContent(stream, "application/pdf");
    msg.addAttachmentPart(attPDF);          
    return msg;
    I GET THE NEXT EXCEPTION:
    javax.activation.UnsupportedDataTypeException: no object DCH for MIME type application/pdf
    at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:851)
    at javax.activation.DataHandler.writeTo(DataHandler.java:305)
    at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1089)
    at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:635)
    at javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:233)
    at com.sun.xml.messaging.soap.MessageImpl.saveChanges(MessageImpl.java:356)
    at javax.xml.messaging.JAXMServlet.doPost(JAXMServlet.java:192)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
    at java.lang.Thread.run(Thread.java:536)
    javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.messaging.JAXMException: Bad response: (500, Internal Server Error)
    at com.sun.xml.messaging.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:93)
    at mp.soap.SendingServlet.getPolisPrint(SendingServlet.java:320)
    at mp.soap.SendingServlet.doPost(SendingServlet.java:234)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
    at java.lang.Thread.run(Thread.java:536)
    CAN ANYONE TELL ME WHAT THE SOLUTION IS ?
    PLEASE HELP ME !!!
    Birol

    testB == buffr ! Sorry.
    IT IS STILL NOT WORKING !!!!!
    // CREATE MESSAGE
    SOAPMessage msg= fac.createMessage();
    SOAPEnvelope nEnv= msg.getSOAPPart().getEnvelope();
    //READ FILE FROM THE HD
    String pdfFileName = "somepdffile.pdf";
    FileReader fr = new FileReader(pdfFileName);
    BufferedReader buffr = new BufferedReader(fr);
    String sPdf="";
    String line = buffr.readLine();
    while(line!=null)
    sPdf += line;
    line = buffr.readLine();
    //WRITE THE FILE TO BYTE ARRAY AND THEN TO STREAM
    byte[] pdfData = sPdf.getBytes();
    ByteArrayInputStream stream = new ByteArrayInputStream(pdfData);
    //CREATE ATTACHMENT ADD THE STREAM AS CONTENT
    AttachmentPart attPDF = msg.createAttachmentPart();
    attPDF.setContent(stream, "application/pdf");
    msg.addAttachmentPart(attPDF);
    return msg;

Maybe you are looking for

  • How to find out if an object is already saved in a transport request

    Hi all, Does anyone know a function module or a class using which I can find out if a development object(class. interface etc.)  is already processed and saved in an open transport request in my system? Thanks in advance Sükrü

  • How to chang the row's color in the Jtable?

    I have a table and many rows,I want chang the rows color,like row one's color is red,row tow's color is write,row three's color is green.How can do it? And if i want chang row 3,coloum 2's color.How can do it? thanks.

  • SR: Calling Web Services from PL/SQL gives http 500 errors

    Hi, people from Oracle Support sent me to this forum. I'm trying to call the Calendar Web Services from PL/SQL using the utl_http package, but I'm getting http-500 errors. I'm using the example from http://www.oracle.com/technology/tech/webservices/h

  • Need Help Regarding Document Numbering

    We have created new menu in Purchase A/R and I need to add the same to Document Numbering Screen. How to add the same? We want to know which all tables need to be modified? Jayanth

  • Problems to watch czech or polish characters

    Hi, I have a problem using Desktop Intelligence to read Czech or Polish characters. In my database I have stored this characters. They exist. I can see them using SQL Developer. My DB is Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64b