Xml file attachment in email

I'm trying to attach a piece of XML in an email. In 10.1.2 this works ok; I used orcl:get-content-as-string(bpws:getVariableData('OutputVariable','RELATIONS')) and put that into the ContentBody of an email.
In 10.1.3.1 this does not work anymore.
orcl:get-content-as-string is no longer available so I used ora:getContentAsString instead. So far so good.
I also had to use a mime type of text/html because with text/xml I get java.io.IOException: Unable to write XML attachment java.lang.String and java.lang.ClassCastException: java.lang.String errors allthough BPEL Console does not show an error.
With mime type text/html I get an email with an attachment but the content of the XML is not escaped; a tag like <NAME>John & Jack</NAME> should be <NAME>John &amp;amp; Jack</NAME>
does anyone have a clue or a solution that works in 10.1.3.1

Hi
There is a bug : 6083186 logged on the same issue.
"PROBLEMS WITH ESCAPED XML IN BPEL 10.1.3.1.0"
Cheers
Anirudh Pucha

Similar Messages

  • Send Files - attach to email filename

    I have dynamic page rendered by asp.net. Let's call it ShowPDF.aspx - it renders PDF file to output. I would like to ask regarding functionality for sending files directly from Adobe Reader X (Tools > Send Files > Attach to Email). The name of the attached file is prefilled to ShowPDF.aspx. 
    Can it be changed to any other values? How is the value calculated? Can it be influenced by any http header?
    Thanks a lot

    Drag or export it from iPhoto to the desktop, and if needed, drag that file to the Preview icon in the Dock, choose Export from the File menu, and specify JPEG as the format.
    (89066)

  • No XML file attachment when using Submit by Email button

    Hello all -
    I'm using LiveCycle Designer 8.0 to create a simple form, and am using the Submit by Email button to return the user supplied data. When I save the form and test it with Adobe Acrobat Professional 8.1.1, the email goes through just fine, but there is no attachment. No XML file, no nothing. Just a blank email with my signature block at the bottom. Has anybody else experienced this? Any ideas on what could be wrong? All I want is the XML file.

    You have multiple options to sending whole PDF format.
    1) Set the submit button to submit whole PDF format by using a mailto: [email protected] in the submit button action URL.
    2) Set the submit button to fire a javascript that submits whole PDF format. See Adobe's Javascript reference guide for instructions.
    Note: Methods #1 and #2 require Adobe Acrobat or Extended Reader Rights; because, Adobe Reader users are restricted to submitting just the data formats; such as FDF,XML, XFDF, XDP, and HTML. Beware extending reader rights to a PDF form using Adobe Acrobat places end user EULA restrictions, such as not more than 500 end user submissions for each form.
    My Recommendations:
    #3) Set the submit button to point to a URL of a server-side script; such as ASP.net. Then set the format to a data format; such as FDF, XML, XFDF, or XDP; and use ASP.net and iTextSharp (Free) to merge the data with a blank PDF form; and attach the submission to an outbound SMTP mail message and send without 3rd party email software such as MS OUTLOOK.
    #4) A combination of #1 and #3; where you enable usage rights on the PDF using Adobe Acrobat; and send to a server-side script which bypasses client-side email software.
    Check out the following website for online examples that submit to a server side script:
    www.pdfemail.net/examples/

  • Is it possible to attach PDF and XML file in same email using email button?

    I'm trying to figure out a way to setup an email submit button so that, when clicked, both the complete PDF file and an XML file of the form data is attached to an email. I've searched all over but have been unable to find any solutions. Anyone able to assist me with this?

    Not possible with Acrobat JavaScript.

  • Send  XML as attachment in Email activity

    Hi
    My requirement is to send XML as an attachment through email .
    In the attachment if i select the MIME type as "XML" then no email notification is sent,
    but if i select the MIME type as "text/html" , then attachement is sent through email , but attachment is in different format( with no content inside attachment) .
    Can anyone help me on this .

    have you tried the example on this page : http://java.net/projects/oraclesoasuite11g/pages/Notification

  • Reg spool file attachment in Email

    Hi All,
    I am sending the report output to spool and I need to take this spool file and I have to send as a attachment through Email.Could some body let me know how we will do this one thing is the report program runs in back ground (because of this we can not get the spool file to the presentation server).
    Thanks&Regards
    jagan

    Please refer :
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8cd6adbb-0301-0010-39ba-938c601d5db9
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/smartformtoMailasPDF+attachment&
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/savingPDFfilefromspooling+list&
    Regards,
    Anish Thomas
    <b>Pls reward useful answers</b>

  • Does big file attachment in email mailbox affect p...

    I have recently boughtE51.In its useguide on mail for exchange I have read that do not keep your mail box big and loaded with big file attachments as synchronising these emails will effect phone efficiency.
    I am not using mail for exchange but using default in built mailbox facility.So now can these big file attached ( upto 10 MB) email will affect my phone efficiency if they are synchronised?

    Amit same question also stuck my mind.I use mail for exchange but want to set up mailbox like you.Just wait to see if some expert answers.

  • Unable to open a .wav file attached to email.

    When I click on an attached .wav file in an email it launches a player of some sort, appears to load the file, then displays the error "There was an error playing the file."
    According to the tech. specs, .wav files are supposed to be compatible.
    Anyone have any ideas? 
    Post relates to: Pre p100eww (Sprint)

    I was able to play a WAV sent to me via email. I have Vonage and it sends voicemails to my email as WAV files; these files work fine for me.

  • No support for text files attached in emails

    I was shocked to discover that a simple RTF (Rich Text File) is not supported by iPhone. I was sent a small attachment as a text file and was unable to open it. Surely something as simple as a text file attachment should be easy to display.
    Come on Apple, lets get working on version 1.1

    fixed in later OS

  • Reader File attach to Email

    Win & x32 7 x64 Reader ver9. Outlook 2003 & google sync
    Try to attach to email and get generic error msg.
    My gut tells me its a Reader problem trying to start email.
    FYI, XP works fine.

    As suggested by vbhv_malik, Microsoft Office 2010 (x64) is not supported by Adobe Reader.To know about PDFMaker-compatible applications please refer to http://kb2.adobe.com/cps/333/333504.html

  • How do i open pdf files attached to email so can print.

    I receive pdf files attahced to email but when they open they open in photoshop elements which I don't want.

    *Click the orange Firefox button
    *Go to Options
    *Go to Applications
    *Find ''Portable Document Viewer (PDF)''
    *Select any of the below
    **Preview in Firefox
    **Always Ask

  • Excel file attachment to email with password protection

    Hi Experts,
    I have a req. to run an payroll interface and send the o/p to email ids as password protected excel attachment.
    Searched in the SDN and found the way to generate excel files with protection in presentation server. But as the job would be run in background, presentation server file will not help in this case.
    Please let me know if someone has come across with similar situation and have any solution. After many research and searching in SDN also I did not get any good solution. Please let me know if any of you have any solution.  
    Thanks & Regards,
    Manas

    Hey Manas,
    Try this.....
    -> [ Password protection for excel file - not urgent|Password protection for excel file - not urgent]
    -> [http://wiki.sdn.sap.com/wiki/display/Snippets/DownloadDataintoMultipleSheetExcelDocumentwithNonEditableColumns%28Passwordprotected%29UsingABAPOLE|http://wiki.sdn.sap.com/wiki/display/Snippets/DownloadDataintoMultipleSheetExcelDocumentwithNonEditableColumns%28Passwordprotected%29UsingABAPOLE]
    Hope it helps!!
    Thanks,
    Muktar

  • File attachment in Email

    I had implemented the simple mail transmission (Email) by using the
    Forte. The email transmisison protocol is follow the protocol stated in
    rfc821 documentation. However, the email transmission I had implemented
    only can send the normal text. The problem is how to implement the
    email transmission with File attachments? Any help or suggestion is
    appreciated.
    Thanks in advance.
    Regards
    Thomas

    When I start composing a new email, and I click on "Attach" in the toolbar, this is what I'm looking at--------------------
    Note that the "Show Images in message body" box is not checked.  I don't understand why you are not seeing the same thing.

  • Word files attached in email are not recognised

    i have sent some word documents through yahoo email. when downloading the files in another computer (windows), the word files are not recognised and did not have an 'extension name' (if thats what they are called) such as ' .doc '
    I have set the computer (windows) to show the extension name, but the downloaded files did not have one.
    When opening the email using my iphone, it did not work as my iphone did not recognise the file type and said 'Mail cannot open this attachment'.
    Please help!

    Thanks for the reply.
    Well status as of now is :
    <b>GUI</b> : I am able to attach documents in BP properly. However after the documents are attached, when I try to open the attachment, it is not opening .txt files. Surprisingly it opens .Doc, .ppt, .xls & .pdf documents
    <b>PCUI</b> :  I am able to attach the documents properly.
    However when I open the document, it is not opening any type of file. I click on attached document icon and it just does not do anything. I mean no window pop-up or anything like that.
    By the way what exactly do I need to do in SICF transaction ? Can you please elaborate.
    Thanks

  • Txt file attachment in email is blank on os X 10.9.1

    Hi, there
    I'm using my macbook pro with native email app. I found that the txt attachment within a email can not be viewed.It showed blank,the file size also showed 0. I switched to outlook, and it looks good. Anyone could tell me how to resolve this issue? My app connect setting is office exchange.
    Appreciate your kind reply

    iSync (and SyncServices) have been removed from OS X Mavericks.
    You can't switch them on anymore.

Maybe you are looking for

  • PL/SQL:ORA-00980: synonym translation is no longer valid

    Hi, I have imported the full database (9i) and import terminated succefully.But I got the followinf errors: ORA-04098: trigger 'UNITE.CAPT_FEE' is invalid and failed re-validation . There are number of triggers where we got the same error. Please hel

  • Firmware upgrade stuck

    My router says there is still a firmware upgrade in progress. I have flashed and reflashed (using UI and tftp util) multiple times, and this will not go away. This is all on top of erratic behavior, dropping the connection, periods of no connectivity

  • Firefox not Mac OSX Spaces friendly - There is no right click option to open a new window in the curent space.

    Other browsers (Safari and Chrome) allow you to open a new window in the current space by right clicking the dock icon and choosing 'new window'. Firefox does not have this option in the right click. You must go to the other space that already has fi

  • How to setup outlook on my laptop

    How do I set up outlook on my laptop so I can view my 2me.com mail?

  • How do i get to the 3Ghz mark, noob at OCing

    hi can anyone advise the best way to get to 3ghz or more if possible with my system, currently at stock but wouldnt mind free performance but not sure which way to do it, like which is best way ,lets say i raise the FSB and leave the multiplier at 12