Extra header lines appearing in payload after singning and encrypting in Mail Receiver adapter PI 7.31

Hi,
We have a mail receiver adapter which is sending out a edi payload as attachment to the external receiver.
When we send the normal .edi file it is ok.
But when we sign and encrypt the payload and send it out, the external customer receiver decrypts and validates the message successfully but when their application tries to read the edi payload it finds the extra header lines as below :
  content-id:
<[email protected]>
Content-Disposition: attachment; filename=xxxxxxxx.edi Content-Type:
application/xml
At their end, their application (DataPower) expects the first three characters of the payload
(decrypted payload) to be either UNA or UNB.This is how it validates whether the incoming message is an EDI message.
But it encounters the extra MIME headers in the payload.
Therefore it gets rejected by DataPower which thinks the content is an
unknown message type.
How to suppress the header lines appearing in the payload(after decryption and validation).
Thanks,
Guest

hi,
try content-type as "text/xml"

Similar Messages

  • I purchased the 30 day subscription of Adobe Pro for my Mac Air and downloaded the app and opened it as instructed. Nothing appears to happen after that and I have been unable to use Adobe Pro thus far.

    I purchased the 30 day subscription of Adobe Pro for my Mac Air and downloaded the app and opened it as instructed. Nothing appears to happen after that and I have been unable to use Adobe Pro thus far.

    I previously downloaded a trial version of Adobe Pro and had used it the last 30 days. Today I just clicked on the link from my purchase confirmation and downloaded some type of installer. Once I clicked on the installer and gave it permission to do whatever it needed to do, it just sort of stalled. I am running Mac OS Yosemite. I thought Yosemitie might be part of the problem because it has given me occasional problems with Word and some other programs. 

  • Mail receiver adapter: attachment adds 3 empy lines

    Hi,
    i use the mail receiver adapter with "mail package" for setting dynamic attachment names.
    The attachment always gets 3 "cr/lf" lines at the end? Why and how can i stop that?
    System: xi3.0sp15build0
    Message was edited by:
            Bernhard Josef Neuhauser

    HI,
    Please read above link for PayloadSwapBean.
    You use the PayloadSwapBean module to replace the application payload of the XI message that contains the business data with another payload that is appended to the XI message as an attachment
    Also see the links below.. how to use PayloadSwapBean.
    HOW - PayloadSwapBean - adding attachments to the message? :-)
    Mailadapter, receive mails from mailserver: attachment?
    Work with attachments
    Sender Mail Adapter - html body mail
    Multi Attachments with ZIP or Mail Adapter (Outbound)
    Regards
    Chilla..

  • Mail receiver adapter - line feed problem

    Hi!
    I am just configuring a mail receiver adapter. In the module tab i configured a conversion from XML to plain which works well. The plain text file is created but there are no line feeds after the plain text lines.
    The configuration in the module tab looks like this:
    Modulename: localejbs/AF_Modules/MessageTransformBean
    Type: Local Enterprise Bean
    Module key: XML2Plain
    <u>Module configuration:</u>
    XML2Plain - Transform.Class - com.sap.aii.messaging.adapter.Conversion
    XML2Plain - Tansform.ContentType - text/plain;charset=utf-8
    XML2Plain - xml.conversionType - SimpleXML2Plain
    XML2Plain - xml.addHeaderLine - 0
    XML2Plain - xml.fieldFixedLengths - 80,80,80,80,80,80
    XML2Plain - xml.fixedLengthTooShortHandling - Cut
    Can anybody please help me?
    Thanks in advance
    Chris

    Hi Stefan!
    Thanks for your reply! Your suggestions would be perfect if I already had any kind of line break, eg. lf or crlf. At the moment there is no separator at the end of each line.
    <u>The XML file looks like this:</u>
    <b>  <?xml version="1.0" encoding="UTF-8" ?>
      <ns:X_ANSI_TXT xmlns:ns="urn:customer.com:edi:kunden">
      <MSG>
      <LINE_01>*** START OF REPORT ***</LINE_01>
      <LINE_02>PO CHANGE REQUEST</LINE_02>
      <LINE_03>DATE: 10/05/05 TIME: 0744</LINE_03>
      <LINE_04 />
      <LINE_05>PO TYPE: CR: Change to Release</LINE_05>
      <LINE_06>PO #: DB65544027560070</LINE_06>
      <LINE_07>ORIGINAL PO DATE: 02/03/93</LINE_07>
      <LINE_08>PO CHANGE REQUEST DATE: 10/05/05</LINE_08>
      <LINE_09>SHPMT PMT METHOD: CC: COLLECT</LINE_09>
      <LINE_10>FOB POINT: OR:ORIGIN (SHIPPNG PT)</LINE_10>
      <LINE_11>FOB DESCRIPTION: ORIGIN (SHIPPNG PT)</LINE_11>
      <LINE_12>*** END OF REPORT *** </LINE_50>
      <LINE_13 />
      </MSG></b>
    <u>After conversion the output looks like this:</u>
    <b>*** START OF REPORT ***          PO CHANGE REQUEST          DATE: 10/05/05 TIME: 0744                    PO TYPE: CR: Change to Release          PO #: DB65544027560070          ORIGINAL PO DATE: 02/03/93          PO CHANGE REQUEST DATE: 10/05/05          SHPMT PMT METHOD: CC: COLLECT          FOB POINT: OR:ORIGIN (SHIPPNG PT)          FOB DESCRIPTION: ORIGIN (SHIPPNG PT)          *** END OF REPORT ***</b>
    <u>I would like to create a more readable format like this:</u>
    <b>*** START OF REPORT ***
    PO CHANGE REQUEST
    DATE: 10/05/05 TIME: 0744
    PO TYPE: CR: Change to Release
    PO #: DB65544027560070
    ORIGINAL PO DATE: 02/03/93
    PO CHANGE REQUEST DATE: 10/05/05
    SHPMT PMT METHOD: CC: COLLECT
    FOB POINT: OR:ORIGIN (SHIPPNG PT)
    FOB DESCRIPTION: ORIGIN (SHIPPNG PT)
    END OF REPORT ***</b>
    Do I have to change the XML message or is there a chance to use a module entry?
    Kind regards
    Chris

  • Extra Blank Line gets added at the Beginning of the file by File Adapter...

    Hello All,
    I have created an RFC to File Adapter scenario in PI 7,1 and I am using Content Conversion in the File Adapter to convert the payload structure to flat text file. The input Structure is simple as follows:
    <File>
    <FName>some file name</Fname>
    <Record>
      <Data>
          <Line>Text Lines</Line>
    </Date>
    </Record>
    </File>
    while using the following Content Conversion Parameters: While I have defined "Record" as Structure.
    Record.addHeaderLine   = 0
    Record.fieldSeparator      = 'nl'
    Record.endSeparator      = 'nl'
    Here everything is working fine except that the text file getting generated has a blank line at the beginning. I was thinking that by adding "Record.addHeaderLine   = 0" parameter, no header line will be added to the file but this seems to be not working. I tried to include the top element "File" with the same parameters and different combinations but was not able to achieve the result and it stopped the file creation altogether.
    So, I'll appreciate if anyone can suggest something to get rid of the this blank line at the beginning of the file.
    Regards,
    Athar

    Extra blank line is actually provided for the FNAME node, but not displayed because of it has different structure with Record node.
    Change the structure for FNAME to :
    <FName>
    <Data>
    <Line>some file name</Line>
    </Data
    </Fname>
    this way "some file name" will be dispalyed in the text file at the first line of file. To remove it use this trick, define the following values in Content Conversion Parameters:
    in the Recordset Structure : FName,Record
    FName.fieldFixedLengths     = 0
    FName.fixedLengthTooShortHandling =     Cut
    FNamee.fieldSeparator = '0'
    FName.endSeparator =     '0'
    Record.fieldSeparator = 'nl'
    Record.endSeparator = 'nl'
    Rgds,
    Triana

  • Flat file having multiple header lines , how to separate the same and pushit into my intrnal table

    Hi Guys,
                    I got an issue , My flat file having multiple header lines
    TPS27RPR  MOME                                      THRIFT (SAVING) PLAN SYSTEM                                           Page    2
    09:54 05 JAN 2014                          List of Contributors w/Company Contributions                           Phase DAY Unit TRE
    Company No: xxxxxxxx - xxxxxxxxxxxxx.
                                                                            Employee/       Employee/
    Employee Full Name/                                                       Company         Company                        Allocation
    Number  ID Number                           PS  PN  End Date        Contribution          Profit        Total Balance   Percentage
    some lines of data and again
    TPS27RPR  MOME                                      THRIFT (SAVING) PLAN SYSTEM                                           Page    2
    09:54 05 JAN 2014                          List of Contributors w/Company Contributions                           Phase DAY Unit TRE
    Company No: xxxxxxxx - xxxxxxxxxxxxx.
                                                                            Employee/       Employee/
    Employee Full Name/                                                       Company         Company                        Allocation
    Number  ID Number                           PS  PN  End Date        Contribution          Profit        Total Balance   Percentage
    in this case how could I separate the header lines from the flat file and update the details to my internal table.
    kindly help me on this issue.
    Thanks and regards,
    M.S.Amirtharajvijay.

    Hi Amirthraj,
    If the flat file is static (if the content within it is same for all) then use the offset concept. First get the contents of the flat file into an internal table and later find the field that has to be in final internal table within the line, calculate the offset for the line and get the value into an workarea. Finally modify/append the work area into an internal table. Also wait for other experts answers for any other hassle free way to achieve the requirement.
    With Regards,
    Giriesh M

  • Bold lines appear around outside right edge and bottom of some pages.

    Several pages now have bold lines around outside right edge, bottom and center of document.  This bold line is also in center between pages in spread. None of the pages are showing automatic page numbers, and when I try and export to pdf, the pdf is blank. What have I done to create these bold lines?  Why are pages not showing? Why does pdf appear blank?

    Which version of ID and your OS?
    We're going to need screen captures to see what you are talking about.
    Is your content on layers marked non-printing? Does it disappear in InDesign when you switch to Preview mode?

  • My MacBook Pro keeps crashing. Lines appear everywhere on the screen and then the computer turns off followed by a repetitive set of 3 beeps. HELP!!

    Lately my macbook has been acting up severely. It keeps crashing by displaying a screen of 3 lines followed by a shut down and a repetition of 3 beeps.It works fine up until this happens. I am not tech savvy at all and would really appreciate if someone could help me understand/diagnose the problem so that i can get it fixed as soon as possible.

    Power On Self-Test Beep Definition - Part 2 - Apple Support

  • Why is a line appearing on my After Effects composition that is not present in the original .ai file

    There is a small black line that cuts through an area of my AE composition.  The composition is made up of layers from an original AI file.  When I go to edit the original, there is no line present, but when I go back to the AE comp, it is still there.  Any ideas on how to rememdy this glitch?

    Here is the screenshot of the entire comp panel.  This is the first time I've encountered this problem.  I went into AI to check my layers to make sure there were no hidden lines.  Pressing "U" twice didn't show anything other than a change in position.  I have made any changes to this particular layer.  However, it must be something on the layers because when I move it, the line stays with it.  When looking at the layer in the project panel, the line shows there as well.  I went into illustrator and added a box on top of it to see if the line would show, but it didn't, however, when I copied the letters in the AI layer and added them above the original ones, the line still appeared in the AE.  I'm assuming it is something to do with the letters, or perhaps the pattern I used.  It's just funny that it only shows in AE and it's not affecting any other layers.  The letters have been outlined and expanded in AI and are all on separate sublayers.

  • Music does not appear in iTunes after consolidation and xfer to E drive

    I followed the instructions listed on the web site for xfer of the music to an external hard drive. After I did the consolidate portion, the music did not show/appear in the e drive folder created for the music. The music does not show in iTunes now. I have not deleted anything since I can't see music in the e drive folder.
    I am currently copying the music from the older folder to the newer folder to see if this helps.
    Where does the consolidated music go?
    Can it be shown in iTunes at all now that it has been consolidated?
    Will pod sync now since music does not appear in iTunes?
    Any help or information would really be appreciated.
    Thanks!
    Gateway   Windows XP  

    Rather than move individual files you might want to move the whole collection:
    iTunes: How to move [or copy] your music to a new computer [or another drive] - http://support.apple.com/kb/HT4527
    Quick answer if you let iTunes manage your music:  Copy the entire iTunes folder (and in doing so all its subfolders and files) intact to the other drive.  Start iTunes with the option (shift on Windows) key held down and guide it to the new location of the library.

  • Mail receiver adapter: change filename of attachment to number in payload.

    Dear experts,
    I want to send out Purchase Orders from XI to a email address. The XI message containing the Purchase Order is sent as an attachment to a email to the supplier. However, the filename of the attachment needs to unique. Preferably the PO number which is in the file content.
    Can anybody help me out with how to accomplish this?
    My current settings are:
    Transport protocol: SMTP
    Message Protocol: XIPAYLOAD
    Not using mail package
    Keeping attachments.
    Using: MessageTransformBean
    Transform.ContentDisposition --> attachment;filename="testing.xml"
    Please tell me how to dynamically change the "testing.xml" part!
    Thanks in advance,
    *will reward points if helpful

    Thanks Prateek!
    This is what I was looking for.
    Can you please do me one more favour?
    How to include this code in the module? I have been looking on help.sap.com but only found to be able to do this in PCK. Is this correct?
    How can I use the code?
    Thanks in advance.

  • Digital singning and encryption

    I developed Web Sevices with Soap messages Encripted and Signed with Apache XML Security (AXIS compatible) but now I'm working with Oracle 10g. I like to use the 10g's new features (JAX-RPC, Soap, UDDI, etc) but I like to still sending Encripted and Signed messages. Anyone know if Xml Security is compatible with 10g or if there are another Library like Apache's one?
    Thank You
    Wilberto Montoya

    Hi Amber,
    The work is based on the finalization and imminent publication of the
    wsse Oasis spec. This is targeted for WLS 8.1 SP3, and you can contact
    our outstanding support organization, reference CR134931, for details.
    Regards,
    Bruce
    Amber Osterman wrote:
    >
    I recently attended the webinar on Web Services interoperability w/ .NET. The
    presenter mentioned that digital signatures and encryption did not work w/ Workshop
    8.1. Is it fixed in 8.1 SP2? Also, are there any interoperability issues w/
    NET and Workshop using digital signatures and encryption.

  • How to print header lines at the top of every page with Alv list display?

    Dear all,
    I need a requirement with printing issue. A program list should be printed with the function reuse_alv_list_display.
    The list has several pages and then can be printed but the header lines appear only first page when they printed. The other pages don't have header lines, they continue with the next record of the list remaining from previous page. I use the alv parameters as below:
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program       = l_repid
          i_callback_pf_status_set = 'ALV_PF_STATUS'
          is_layout                = ls_layo
          it_fieldcat              = lt_fcat
          i_default                = 'X'
          i_save                   = 'A'
          is_variant               = ls_variant
          it_events                = lt_events
        TABLES
          t_outtab                 = lt_data
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.
    and lt_events as below:
      ls_event-name = 'END_OF_LIST'.
      ls_event-form = 'ALV_END_OF_LIST'.
      APPEND ls_event TO lt_events.
      ls_event-name = 'END_OF_PAGE'.
      ls_event-form = 'ALV_END_OF_PAGE'.
      APPEND ls_event TO lt_events.
      ls_event-name = 'TOP_OF_LIST'.
      ls_event-form = 'ALV_TOP_OF_LIST'.
      APPEND ls_event TO lt_events.
      ls_event-name = 'TOP_OF_PAGE'.
      ls_event-form = 'ALV_TOP_OF_PAGE'.
      APPEND ls_event TO lt_events.
    So, how can I print header lines for every page?
    Best Regards,

    Hello Saba,
    Your point might be very close to solution.
    Because in the selection screen of the program there are two radio buttons, one of them visits 'REUSE_ALV_COMMENTARY_WRITE' function and the other doesn't. The one which visits has a problem with header liens in every page when printing. But I couldn't find out the solution yet.
    reuse_alv_list_display uses 4 event and of course I call subroutine. There are end_of_list, end_of_page, top_of_list and top_of_page. I use in the subroutine for top_of_page:
      CALL FUNCTION 'LVC_TRANSFER_TO_SLIS'
        EXPORTING
          it_fieldcat_lvc         = gt_fcat
        IMPORTING
          et_fieldcat_alv         = lt_fcat
        EXCEPTIONS
          it_data_missing         = 1
          it_fieldcat_lvc_missing = 2
          OTHERS                  = 3.
      CALL FUNCTION 'REUSE_ALV_LIST_WIDTH_GET'
        EXPORTING
          it_fieldcat = lt_fcat
        IMPORTING
          e_width     = l_width.
    WRITE l_reptx TO l_reptx CENTERED.
      NEW-LINE.
      WRITE: AT (l_width) l_reptx CENTERED.
      SUBTRACT 10 FROM l_width.
      WRITE: AT l_width sy-pagno RIGHT-JUSTIFIED.
        CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
          EXPORTING
            it_list_commentary       = lt_header
      I_LOGO                   =
      I_END_OF_LIST_GRID       =
    Do you have other suggestions ?

  • Thin vertical lines appearing on screen, since wakeup from sleep mode.

    My Mac G5, 2GHz, DVD-R, 1GB DDR RAM, OSX 10.4.10, ATI RADEON X800 XT has recently developed a display issue. On start-up the screen shows vertical lines across the entire screen. The colors of theses lines is varying from green to black, depending of the background color. The lines are appearing from the grey loading screen and when a profile is logged in.
    Shutting down and restarting doesn't cure the problem, nor does staring in safe mode nor starting up from an install CD. I also tried re-installing the operating system, but I get the same result. I tried another monitor but I also get the lines on screen. I verified all the cables and that the graphic card is well in place in the pci slot.
    If I change the resolution, I also get thoses lines but they change place on screen. Also, if I set the colors level to 256 colors, I get very little single lines but If I set the color level to the highest (36,7 Millions), the lines appears in group of 5+ and are all over the screen.
    I tried taking a screenshot using the shortcut cmd-shift-3 and I can see the line in the pictures. Also, if I take a screenshot of a window that is behind the window in the front ( using cmd-shift-4-space ), I dont see the line on the screen shot.
    I started to have this problem when my mac was woke up from sleep mode and the problem has persisted since then.
    I guess my problem is the graphic card but I would like an external opinion before I got buy another one.
    Thanks

    Any new results?
    I'm having the same issue. Looks like this, but at a slight angle and different RGB colors (almost like JPG artifacting).
    Started this evening after a cold boot. I just put my X800 XT Mac G5 edition in 2 weeks ago. No real heavy use either, as I've been gone for a week.
    Looks to me like bad VRAM (according to TechTool Deluxe). I'm running the AHT now and will hopefully come to a final conclusion soon. I did test my 20" Apple monitor (DVI) with my laptop and there was no problem...so it is definitely the video card. Not sure if the aforementioned ATI ROM extender will fix it or not.
    Much luck to all of us who are having this problem.

  • Adding report header lines using expand.xsl style sheet

    Hello
    I would like to add a few header lines (appears only at the first page of the report) into my XML report that is based on expand.xsl style sheet. 
    Since I am not familiar with XML, is there any example or a modified (ready to run) expand.xsl style sheet that implements it?
    Thank you
    Zvika

    Hey Zvika,
    Chek out this website:  http://zone.ni.com/devzone/cda/epd/p/id/4759
    NI doesn't support any changes in the xsl however so if you change it you are on your own.  You can look to this website for help with that: http://www.w3.org/XML/
    Regards,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

Maybe you are looking for