Problem: Original Attachment Name from SOAP Sender changes to attachment-1

Hi everybody,
we have a scenario where a SOAP sender receives a xml message describing several documents. Each document has a mime type and a file name, size, md5 checksums etc as attributes.
The documents are send as attachments with the same Web service in SWA(SOAP with attachment style).
The web service calls an ABAP proxy provider class in a R/3 backend.
The ABAP proxy class will save the attached documents for further processing and must use the original document names.
At the soap communication channel monitoring(Java Stack) we still see the original attachment names in the message content tab.
At the Integration Server(sxmb_moni) the attachment name changes to attachment-1, attachment-2 and so on.
Using the method
IF_AI_ATTACHMENT ->GET_DOCUMENT_NAME
  in the provider ABAP proxy class returns the name attachment-1.
We can see that there is a mapping of the new attachment-1 name to the old, original name in the manifest section of this message on the Integration server.
Is there a way to access the manifest section at a provider ABAP proxy class?  Or otherwise a PI configuration setting to preserve the original attachment names.
Thanks a lot,
Heiko
=> PI 7.1 SP9

Hi Stefan,
(I was hoping you would find that thread ...)
I see a good reason why the attachment names are changed as the PI message protocol sends the main document as an attachment as well. So no problem with that because the information of the mapping old to new names still exists in the manifest part and is visible at the sxmb_moni.
We see a manifest part like this (Sorry cant post the whole xml doc as the formatting for longer messages isn't working in the forum)
<SAP:Payload xlink:href="cid:4cc43edd-839f-423f-b7c6-7e44294d663a_sig.p7m">
  <SAP:Name>attachment-1</SAP:Name>
  <SAP:Description>attachment</SAP:Description>
  <SAP:Type>ApplicationAttachment</SAP:Type>
</SAP:Payload>
The (red) cid entry is the original file name. This manifest is from the sxmb_moni in the r/3 backend. So all the information is there..  The question is how to retrieve this information .. Any idea?
Best Regards,
Heiko Bergmann

Similar Messages

  • File name reverts back to original file name from camera

    In iPhoto I changed all the names of my pictures from what the camera assigned them. I can see the title on each picture. Then when I go to attach the picture  to an email it reverts back to original name from the camera.
    It does the same thing when I copy over to an external hard drive.
    How do I get the name to change permanetly?

    Sandy:
    Welcome to the Apple Discussions. Another alternative would be to change your workflow. Upload to a folder on the desktop first and use a renaming application like R-Name to batch, sequentially rename your photos before importing into iPhoto. I use the international date format with a brief description of the shoot like this: 2008-06-15-Fathers Day-001. It may take a bit more effort at the beginning but saves a lot of headaches on down the line.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

  • Problem: The same filename from a sender to a receiver file adapter - SP14

    Blog : /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    My Problem:
    The thing works for me and i am able to get my input files name as my output file name. But one thing i noticed is that in my target message, the field where i have mapped the code it always returns the value "null" but finally when the file is created i get the required result.
    My input file name is input.txt and i get the same name in my output file too.
    In sxmb_moni if i check DynamicConfiguration link i see the following
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!-- Response
    -->
    - <sap:DynamicConfiguration xmlns:sap="http://sap.com/xi/XI/Message/30">
    <sap:Record namespace="http://sap.com/xi/XI/System/File" name="SourceFTPHost">10.25.116.98:21</sap:Record>
    <sap:Record namespace="http://sap.com/xi/XI/System/File" name="Directory">/input/test</sap:Record>
    <sap:Record namespace="http://sap.com/xi/XI/System/File" name="SourceFileTimestamp">20060228T112200Z</sap:Record>
    <sap:Record namespace="http://sap.com/xi/XI/System/File" name="FileType">bin</sap:Record>
    <b><sap:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">input.txt</sap:Record></b>
    <sap:Record namespace="http://sap.com/xi/XI/System/File" name="SourceFileSize">770</sap:Record>
    </sap:DynamicConfiguration>
    But when i check my mapped field i see
    <field3>BodyC</field3>
    <keyfield>02</keyfield>
    <field5>BodyE</field5>
    <field6>BodyF</field6>
    </Body>
    - <Trailer>
    <keyfield>03</keyfield>
    <b><field2>null</field2> -> Null value instead of input.txt</b>
    </Trailer>
    </ns0:MT_Putfile>
    The code i have used to map the field2 of the trailer is the following ....
    <i>DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileType");
    String valueOld = conf.get(key);
    return  valueOld;  </i>
    Any clues ?

    Gosh this is spooky
    Anyway i tried with that line of code but it throws me an error during activation ...
    Activation of the change list canceled Check result for Message Mapping mm_IS | http://t-systems.com/Shabarish:  Starting compilation  Source code has syntax error:  /usr/sap/TXT/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map387c7300a9ac11da9d280011256afae8/source/com/sap/xi/tf/_mm_IS_.java:104: cannot resolve symbol symbol : method getTransformationParameters () location: interface com.sap.aii.mappingtool.tf3.rt.GlobalContainer DynamicConfiguration conf = (DynamicConfiguration) container.getGlobalContainer().getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION); ^ 1 error
    The code is :
    DynamicConfiguration conf = (DynamicConfiguration) container.getGlobalContainer().getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    //DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    //String valueOld = conf.get(key);
    String valueOld = conf.toString();
    return  valueOld; 
    Thanx Renjith so far .. but i hope this gets resolved (else i will loose my sleep thinkin abt the situation)

  • Specifying queue name in SOAP sender channel

    Hi
      We are on XI 3.0 SP18 - I have a requirement in which a soap webservice exposed out of the XI box - is to be called in an asynchronous mode - the webservice posts - document onto R/3 using an ABAP server proxy.
    Now, there is also a need to post documents onto R3 - by serializing through an object key - material number ( say updates to a material ). I saw that there is a queue name in the soap sender channel setting when I choose eoio - qos . Is this queue name static ?
    Also, any suggestions on how I can serialize the calls to the webservice based on an object key ( material number is supplied by the soap client ) all the way to R3 ( I am using a ABAP server proxy on the R3 side )

    Ravi
           I am looking for way to specify a non-static queue name here - so that I could establish a queue based on an object key from the source - web service client all the way to R3 - I wanted to know the options available on specifying the queue name in the communication channel -
    Thanks...

  • Problem in query jump from one sender and two receivers

    Hello all,
    My requirement is to jump from one query to another two queries. The sender comes from infoCube A and receivers comes from ODS B and ODS C (ODS C is a copy of ODS B). The problem is that when I execute the first jump a pop up appears with a selection date. This issue does not happen when I execute the second jump (and the selection date is needed). Target queries are identical, and I don´t know what is happening.
    Any ideas?
    Thanks in advance.
    Carmen

    Hi Carmen,
    I think you have used the same variable for the day selection for the query on ODS C and ODS B. Hence when you fill it for the first time it does not ask you at the second instance.
    Regards.

  • Problem translating servlet name from an encoded URL when using HTTPS

    Hello:
    I am experiencing a wierd issue when using WLS 5.1 with HTTPS and am hoping someone might
    be able to shed some light...
    I have deployed a web application and am using HTTPS.
    So, a typical call to a servlet is
    https://foo.com/web_app_context/servlet_name/servlet_arguments
    The servlet is used to upload files from disk to a database and to also download the same.
    Therefore, the servlet_arguments string contains the file name among other things.
    The problem seems to arise when the file name contains either a space or an
    underscore e.g. "file_name" or "file name". It is then typically encoded as
    "file%20name" in
    the URL.
    So a call then looks like:
    https://foo.com/web_app_context/servlet_name/file%20name
    When this request is sent to WLS, it seems to truncate the servlet_name by a couple
    of characters causing the request to fail.
    This works fine using HTTP.
    Any thoughts would be much appreciated.
    Thanks in advance.
    Prashant

    The JNDI call is different when you call an EJB from inside the J2EE.
    ctx = new InitialContext();
    ref = ctx.lookup("java:comp/env/<JNDI-Name>");
    Regards
    Stefan

  • Easy Way To Change The Original File Name??

    I store all my music and videos on iTunes. I just got a AT&T Tilt and I have to use WMP to sync to it. I can't drag and drop iTunes playlists into my media card cause my Tilt uses Windows.
    My main problem with WMP is even though I edit the song/video name, it still syncs over the original file name. If I change the original file name for WMP then I have to rename it for iTunes cause when I go back to iTunes to play the song/video, it says the file is missing. It's a pain
    For example, in my iTunes music foler in My Music, I have a song file named Britney_Pieceofme.mp3. I edit the name of the song and artist to Britney Spears Piece Of Me but when I sync it to my phone, the original file name appears.
    Thanks!

    I think you may need to "look" into the song to see what information is contained in the mp3 tag. WMP automatically sees that information and will store the song at the name in the tag. To solve your problem, you will need an mp3 tag editor (google search) where you can change the tags on your songs, then put them on your Tilt. I think/hope this solves your problem.

  • Problem between SOAP Sender and JDBC Receiver

    Hi,
    I have a asynchronous scenary between SOAP Sender and JDBC Receiver.
    The idea is sending an ID for updating one register.
    Table structure is:
    TABLE AS_PERSONA
        (P_RUT                         VARCHAR2(10) NOT NULL,
        P_NOMBRE                       VARCHAR2(50),
        P_APELLIDO                     VARCHAR2(50))
    The ID is the P_RUT field.
    The structure of message that I send by SOAP, is the following:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <SOAP-ENV:Body>
              <m:MT_CONS_SOAP xmlns:m="urn:prueba:voliva">
                   <CONSULTA>
                        <P_RUT>15445</P_RUT>
                   </CONSULTA>
              </m:MT_CONS_SOAP>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    The JDBC receiver structure is:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_CONS_PERSONA xmlns:ns0="urn:prueba:voliva">
         <Statement>
              <AS_PERSONA action="UPDATE">
                   <table>AS_PERSONA</table>
                   <access>
                        <P_NOMBRE>DELETE_BY_XI</P_NOMBRE>
                        <P_APELLIDO>DELETE_BY_XI</P_APELLIDO>
                   </access>
                   <key>
                        <P_RUT>15445</P_RUT>
                   </key>
              </AS_PERSONA>
         </Statement>
    </ns0:MT_CONS_PERSONA>
    When I do a call to SOAP by XMLspy, it returns a message without data, that means succesfull reply.
    I see message monitor and see the succesfull flag. But in the database it doesn't update the register.
    This scenario was proved using the File Sender and same JDBC Receiver, then result was succesfull.
    I proved SOAP Sender with a File Receiver, storing information from SOAP sender in an archive, and works well.
    Then I imagine that exist some problem between SOAP and JDBC. what could be happening ?
    Thanks.

    Hi,
    Looks like the problem is with the JDBC receiver...try updating the value in the table by using a File-JDBC scenario..does it work..check the adapter monitor in RWB..
    Regards,
    Sushumna

  • I want to know original user name insted of RFC_USER

    Hi All,
    I have two systems (like CRM& FI) , I have changed one FI table field value through CRM by using some RFC call. finally i able to find in CDHDR & CHPOS tables in FI server with User name RFC_USER. but I need original user name from the CRM , who was changed these field value.
    thx
    Siva

    >
    siva wrote:
    > Hi All,
    > I have two systems (like CRM& FI) , I have changed one FI table field value through CRM by using some RFC call. finally i able to find in CDHDR & CHPOS tables in FI server with User name RFC_USER. but I need original user name from the CRM , who was changed these field value.
    >
    > thx
    > Siva
    Hi Siva,
    with Transaction Code SM59 you maintain your RFC Destinations.
    WIthin these settings you have technical settings, security, description and login properties.
    In the login properties, check "Use current user" (RFCDISPLAY-RFCSAMEUSR), for that this user is used when calling the server.
    Best regards;
    Hartmut

  • Tethering in Lightroom with MK III - Can't keep original file names

    Hello,
    I am shooting a Canon Mark III to Lightroom 3.3 with RAW 6.3 on OS 10.5.8.  All I want to do is insert custom text in front of the original file name from the camera.  I cannot even seem to get Lightroom to allow the images to maintain the naming from the camera.  The options "filename", "original file number" and "sequence" all rename the files in accordance with Lightroom preferences.  I want to keep the naming from the camera and simply add custom text in addition to it.  I would be pleased to even learn if Lightroom can accept the name from the camera as it does not seem able to do so.  No matter what I select, input, or leave out, Lightroom seems to rename the file in some way or another. 
    The problem with most of the naming conventions in Lightroom is that the numbers seem to reset when the camera gets turned off.  "Sequence" is the only setting that maintains a consistent and ascending count even if the camera is turned off then back on but it still doesn't reflect the camera settings which most photographers prefer to leave on continuous.  While this affords a temporary solution, it does not fix the issue that we would prefer to see the original filename and number that the camera puts out.  I have tested all the filename settings in Lightroom (including inputting nothing) and can't seem to get the actual original camera written filename to show up.  PLEASE HELP!
    It is hard to imagine that any software this powerful, especially from Adobe, could overlook and fail to execute something so crucial and basic as simply not overwriting the file info from the camera.
    Thank you in advance for your help.
    mb

    Hello,
    original file name is only stored in the lightroom catalog file. This means, the original filename is stored in your LR4 catalog! After you upgraded to LR5 you simply have to open the LR4 catalog and LR5 will convert the catalog into an LR5 catalog.
    I hope, you still have an LR4 catalog backup (before you removed all images)? Otherwise original file name is lost.

  • Import clips into FCP X version 10.0.8 and keep the original clip names

    Can you Import clips into FCP X version 10.0.8 and keep the original clip names in the event original media folder? in version 10.0.8 it automatically allocates date / time of the event. I need it to keep the original clip name i:e Clip0100 event folder original media Clip0100. I am aware you can change the clip name to original once in FCP X, But it's the event folder original media name which I want to remain as the original file name.

    Hi Tom,
    Thanks for the response.
    I am aware you can do this change in the Info inspector so the original clip name from camera is used in the event library browser, but it does not change the clip name in the Final Cut Events Original Mieda file. This still remains as an event clip name "2013-05-23 17_08_13". I need the original clip name Clip0100 to remain as Clip0100 at import. FCP X doesn't seem to allow this happen any more in version 10.0.8.
    Cheers
    D..

  • Soap sender adpater issue missing sender interface and namespace in the msg

    Hi Expert,
    I got a problem when try to using soap sender adapter.
    Here is the sceanrio:
    Http web service client call ---PI soap sender adapter -some routing data-business system inbound.
    Sytem information:
    SAP_ABA     700     0019     SAPKA70019     Cross-Application Component
    SAP_BASIS     700     0019     SAPKB70019     SAP Basis Component
    PI_BASIS     2005_1_700     0019     SAPKIPYJ7J     PI_BASIS 2005_1_700
    ST-PI     2008_1_700     0001     SAPKITLRD1     SAP Solution Tools Plug-In
    SAP_BW     700     0021     SAPKW70021     SAP NetWeaver BI 7.0
    ST-A/PI     01L_BCO700     0000          -     Servicetools for other App./Netweaver 04
    Here is my problem. I use soapui trigger a test msg to PI system. But in the sxmb_moni, only sender service is there.
    The sender interface and sender namespace is missing. And the msg has error called: :INTERFACE_REGISTRATION_ERROR.
    Which means I do not have a inbound interface to process the msg.
    But I suppose to redirect the msg to business system.
    Here is the configuration:
    reciever determination: soap sender service, soap outbound interface, soap interface namespace --> reciever business sytem.
    Interface ditermination: soap sender service, soap interface --> receiver interface, receiver namespace.
    Sender agreement: soap service, soap itnerface --- soap communication channel
    receiver agreement, soap service---> receiver sevice, receiver interface, reciever namespace  and reciever cummunication channel
    define of soap sender adapter:
    soap sernder, with use encoded header and use query string checked and qos as exactly once.
    Anyone has any idea here? Many thanks! And most strange thing is yesterday it works and today it failed.
    Please kindly help here.
    Thanks a lot,
    Leon

    Hi guys,
    thanks for the input.
    Hi Sven,
    I have input default interface and namespace.
    Hi sivasakthi,
    Regarding mistype, it may happen, I will do it again right away.
    And the URL is generated by the wsdl toolkit in the directory.
    I marked use encoded header and query string in the communication channel.
    I will generate the wsdl again and test it again.
    Regarding URL(endpoint of web service):
    http://hostname:50000/XISOAPAdapter/MessageServlet?channel=:AGSSAL_SOAP:AGSSAL_SOAP_CC&version=3.0&Sender.Service=AGSSAL_SOAP&Interface=urn:a1s_saplivelinkcontent.service.sap.com^MI_O_AS_DELIVERNOTIFY_SOAP
    Again thanks for you guys help.
    Best regards,
    Leon

  • Can Soap sender channel be directed to Soap reciever channel

    Hi
    I have a three layer architecture on the target side. First layer is Web AS, Second layer is Web AS asd third is PI server.
    Now i am recieving Soap messages from a source PI. Its a SSL communication. I have to terminate SSL on the first Web AS and pass on the same soap message to third layer that is PI server.
    Do i  have to configure a Soap sender channel on Web AS to terminate SSL?
    If i do configure Soap sender channel on Web AS , how do i send the same soap message to third layer that is PI server. I dont want to write the incoming file at any location and then pick it up and send it through SOAP reciever channel. Is there a way to direct the same SOAP message from SOAP sender channel to SOAP reciver channel.

    >>pass on the same soap message to third layer that is PI server.
    If you simply want to pass on the same messages,why not use configure multiple receiver/interface for it.
    Thanx
    Aamir

  • Getting user name from sopa header

    How should get user name from soap header in my udf...?i searched in sdn,but not get exact solution...

    I din't get this with SRemoteUser
    1. i've enabled " Do Not Use SOAP Envolope"
    2.Enabled ASMA
    3.Variable Transport Binding .
    used the following code as well:
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey user = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/SOAP", "SRemoteUser");
    conf.get(user);
    But not value in it.. Correct me if iam wrong..

  • My mother used to be the bill payer on my iTunes account so now every time I send an email from my iCloud account it sent with her name, how can I change the settings so emails are sent from myself?

    My mother used to be the bill payer on my iTunes account so now every time I send an email from my iCloud account it sent with her name, how can I change the settings so emails are sent from myself?
    I've changed the bill payer to myself but it stills says on emails that I sent that its from my mother.

    In order for the "From" field to show you options on the "from" addresses available, you must set them up in the Preferences > Accounts first.
    I can't show you a screen shot of the from field because I currently only have one account, so the from address used is the default. However, when I had more than one, then options will show up in your compose/reply window.
    You'd need to add an account here:

Maybe you are looking for

  • Error while deploying composite to weblogic

    Getting following error while deploying composite to weblogic; As I got some reason from google that, its because of jdk8. If it is a known issue, does oracle released any patch for this? 8:16:43 AM] Server is most likely down. Please check the serve

  • Pass parameter in URL?

    Hi Guys, there used to be a forum or KB article about how to pass a url parameter from one page to another to populate a form field on the second page.  I cant seem to find this on the new forums, can anyone point me in the right directions? Cheers M

  • Reservation

    Hi, I want to know the reservation process properly. I have a sales order of 10 no. Now i want to reserve the quantity against. What i have done is in MB21, i have reserved the stock with mvt type 231. Now i issue the material in MB1A, with ref to re

  • Find the KOSTL(cost center) value using coing group and coding code

    Hi,     Can we get the value cost center Kostl by using coding code and coding group. As per the requirement the coding group is specified in the table qmel-qmgrp and the coding code is qmel-qmcod.. So by using this values only can we get the KOSTL v

  • Mandatory condition type in PIR

    Hello expert, I want to set two conition type(Duty:ZOA1 and Freight:FRA1) in purchsing info record as mandatory input, but it seemed impossible till now. Could you suggest how to do it? What I have done: 1.     I created the two new condition type an