Change MessageType name in xml file

Hi experts,
I have developed a receiver interface that creates an xml file and put it on an external server.
Now other side says that this tag:
<ns0:MT_MexElectronicInvoice_EDICOM xmlns:ns0="urn:Myfirm-EDICOM:MexElectronicInvoice">
is not correct, they want another description:
<ns0:MT_MexElectronicInvoice_myFirm xmlns:ns0="urn:Myfirm-EDICOM:MexElectronicInvoice">
My question is: is possible to change MessageType tag in xml file without changing the message type structure name in Integration Repository?
thanks
fabio

use another mapping which has the target  MT as  <ns0:MT_MexElectronicInvoice_myFirm xmlns:ns0="urn:Myfirm-EDICOM:MexElectronicInvoice">
Add this mapping after the original mapping in your interface/operation mapping.
This will be the easiest way to handle this requirement as you will only need to do a one to one mapping.
Another option will be to write a java mapping to do a simple replace function for the string <ns0:MT_MexElectronicInvoice_EDICOM xmlns:ns0="urn:Myfirm-EDICOM:MexElectronicInvoice"> to  <ns0:MT_MexElectronicInvoice_myFirm xmlns:ns0="urn:Myfirm-EDICOM:MexElectronicInvoice">

Similar Messages

  • Change name of .xml file.

    Can anyone help me?
    Being new to podcasing and not realising that I only need one xml file even for multiple episodes I gave my file a specific name relating to the subject of my first episode. Realising my mistake I would like to re-name the .xml file, is that possible now that iTunes have already accepted my podcast?

    Sure, just copy your old file over to the new URL.
    Then edit the "old" copy and cram this into it:
    http://www.apple.com/itunes/store/podcaststechspecs.html#_Toc526931687
    So when Apple visits the old one, they find the new one.
    You can also do the fancy 301 redirect (not 302) if you know what that means, or want to figure it out. It's an HTTP response code in the HTTP protocol to note that a document has "permanently moved"

  • Existing cross Reference: how to change the name of the file it refers to?

    Hi everybody,
    I am a professional translator.
    One client of mine sent me a complete FrameMaker 9 book file for translation.
    I translated the content via a CAT-Tool and now am in the process of checking if cross references and markers are ok directly into the file.
    I noticed that many cross references are linked to another file of the book. But in the process of translating each file separately, I gave them a slightly different name (I added the language at the end) so as to be able to recognise them eventually.
    Now I have this problem: I cannot find in the cross reference interface where to change the name of the file into the new one the cross reference is supposed to refer to.
    Am I right in wanting to change the file reference? If so, how do I do that?
    Or is it better to avoid this task and rename the translated file into their original names ? Would it work then?
    Thanks for your help.

    ... book file ...
    ...  each file separately, I gave  them a slightly different name (I added the language at the end) ...
    I'm guessing that you renamed the component files by means other than using the Edit > Rename File from the Book menu.
    If so, do over. Rename from the Book menu. It automatically revises all the cross-references in all the component files.
    In a Book, the only thing that's safe to rename with the file manager is the .book file itself.

  • Change the name of a file.

    Hello, I don't how can I change the name of a file ?.
    Somebody can help me, please?
    For example : c:\out\prove1.csv to  c:\out\prove1_09112007_163001.csv
    Thanks

    Another way would be to use the FILE_COPY and
    FILE_DELETE of the class CL_GUI_FRONTEND_SERVICES to first copy the file and then delete the other one.
    REgards,
    Rich Heilman

  • BEx Brodcaster for Workbook - Cannot change the name of attachment file.

    Dear All Experts,
    I am using the BEx Broadcaster to distribute report of workbook via email. The name of attchament file in email is the technical of workbook. I want change the name of attchment file and found this thread
    [Broadcasting Workbook - Change attachment filename|Broadcasting Workbook - Change attachment filename] that reference to method in background process. Can I create customize program or method to change the name of file.
    Thank you and really appreciate your help.
    Zilla D.

    Hello Zilla,
    By SAP methods, this is not possible. There is no way to do that. May you can suggest it on our Community of Innovation. See note 11.
    This is not only your concern. Some customers already request this functionallity.
    Best Regards,
    Edward John

  • Changing Step Name in XML Report programmaticaly

    I am trying to change the step name programmaticaly in TestStand to reflect in the XML report. The step is executed several times in a loop, and every time the loop runs I want the step to be named differently in the XML report. For example, the names will be something like this < Test1: Signal Name 1>, <Test2: Signal Name 2> ....etc. Any help on this will be appreciated .
    Thanks,
    Sam

    Hi,
    The best time to change the name is before you perform the test, then it will get inserted in the ResultList and hence into your report.
    I have attached one way of doing this. You can also perform it after the Step you wish to change, in which case you would use the RunState.PreviousStep as a reference.
    You could call the API method as part of your code.
    Remeber, if you use a PropertyLoader to load Limits, and you have placed this inside the loop, then your Limits file for the Step Name must match the new step name not the old one that you see statically.
    This is a TS3.5 example.
    Hope this helps
    Regards
    Ray Farmer
    Regards
    Ray Farmer
    Attachments:
    Sequence File1.seq ‏25 KB

  • Changing xwork-community-custom.xml file in Forums Application

    Hi,
    could someone give me details on how to customize the file xwork-community-custom.xml, to override actions defined in xwork-community.xml?
    My problem in detail:
    I want to delete the "My questions" area in profile view, because we don´t have a "question scenario" in our company.
    As it is no jsp file, that i can directly change, but a ftl file that is included in the forums.jar file I want to override the actions "profile" and "edit-profile", which are included in xwork-community.xml, so that I dont´t have to change the jar file directly . The file now looks like that:
    <xwork>
        <package name="custom-actions" extends="webwork-default">
         <action name="profile" class="com.jivesoftware.profiles.action.ViewProfile">
                <result name="success" type="freemarker">myfile.ftl</result>
            </action>
            <action name="edit-profile" class="com.jivesoftware.profiles.action.EditProfile">
                <result name="cancel" type="redirect">profile.jspa?editMode=true&amp;userID=${targetUser.ID}</result>
                <result name="input" type="freemarker">myfile.ftl</result>
                <result name="success" type="redirect">profile.jspa?editMode=true&amp;userID=${targetUser.ID}</result>
            </action>
        </package>
    </xwork>
    For that I copied this two actions in "xwork-community-custom.xml" and now want to change the value for e.g.
    "/templates folder.
    What do I have to write in the xml to reference to this file? In jive forum s.o. wrote to write only the the file name as reference and that this has the effect that ftl file fromtheme folder is taken, but that didn´t work.
    I tried nearly everything but it has no effect. I also restarted server etc.
    Every other change was no problem, and even if i place a ftl file in themes folder which has the same name as as JSP file the framework tries to render the ftl file, but in the other case no chance.
    Could someone please give a tip, how i can do my changes?
    Many thanks
    Best regards
    Alex

    for all who want to get a little bit deeper in Jive application, than configuring things with admin console....solution was the following:
    - look for ftl file in xwork-community.xml file, which is responsible for the specific action (in my case cp-tabs.ftl)
    - look for the path of the original ftl file in jiveforums-<version>.jar
    - extract ftl file you want to modify and do your changes
    - have a look into ..../com.sap.netweaver.coll.forums/servlet_jsp/forums/root/template if the path specified in jar file already exists (normally not). If not create folder structure. In my case I had to create forums/include
    - put the customized file into the new folder
    - restart application server
    --> "my questions" area in profile is gone
    Regards
    Alex

  • Example of storing a prefix name space xml file in XML DB ?

    I have lots of XML file pass to me with prefix name space all over the file. Is there any example of how to stored and retrieved this type of XML file to XML DB?
    Example of the XML file:
    <?xml version="1.0" encoding="UTF-8"?>
    <ddms:Resource xmlns:ddms="http://metadata.dod.mil/mdr/ns/DDMS/1.3/" xmlns:ICISM="http://metadata.dod.mil/mdr/ns/DDMS/1.3"
         xmlns:gml="http://metadata.dod.mil/mdr/ns/DDMS/1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://metadata.dod.mil/mdr/ns/DDMS/1.3/ ../DDMS-v1_3_1033.xsd">
    <ddms:identifier ddms:qualifier="http://metadata.dod.mil/mdr/ns/MDR/0.1/MDR.owl#URI"
              ddms:value="http://www.whitehouse.gov/news/releases/2005/06/20050621.html"/>
    </ddms:Resource>

    Hi
    What is the error you get if you try to load the file ?
    May be you have to change the schema location of the xsd to an absolute path in your exable it is relative
    xsi:schemaLocation="http://metadata.dod.mil/mdr/ns/DDMS/1.3/ ../DDMS-v1_3_1033.xsd"
    regards Patrick

  • How to get the column name and table name from xml file

    I have one XML file, I generated xsd file from that xml file but the problem is i dont know table name and column name. So my question is how can I retrieve the data from that xml file?

    Here's an example using binary XML storage (instead of Object-Relational storage as described in the article).
    begin
      dbms_xmlschema.registerSchema(
        schemaURL       => 'my_schema.xsd'
      , schemaDoc       => xmltype(bfilename('TEST_DIR','my_schema.xsd'), nls_charset_id('AL32UTF8'))
      , local           => true
      , genTypes        => false
      , genTables       => true
      , enableHierarchy => dbms_xmlschema.ENABLE_HIERARCHY_CONTENTS
      , options         => dbms_xmlschema.REGISTER_BINARYXML
    end;
    genTables => true : means that a default schema-based XMLType table will be created during registration.
    enableHierarchy => dbms_xmlschema.ENABLE_HIERARCHY_CONTENTS : indicates that a repository resource conforming to the schema will be automatically stored in the default table.
    If the schema is not annotated, the name of the default table is system-generated but derived from the root element name :
    SQL> select table_name
      2  from user_xml_tables
      3  where xmlschema = 'my_schema.xsd'
      4  and element_name = 'employee';
    TABLE_NAME
    employee1121_TAB
    (warning : the name is case-sensitive)
    To annotate the schema and control the naming, modify the content to :
    <?xml version="1.0" encoding="UTF-8" ?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb">
      <xs:element name="employee" xdb:defaultTable="EMPLOYEE_XML">
        <xs:complexType>
    Next step : create a resource, or just directly insert an XML document into the table.
    Example of creating a resource :
    declare
      res  boolean;
      doc  xmltype := xmltype(
    '<employee>
      <details>
        <emp_id>1</emp_id>
        <emp_name>SMITH</emp_name>
        <emp_age>40</emp_age>
        <emp_dept>10</emp_dept>
      </details>
    </employee>'
    begin
      res := dbms_xdb.CreateResource(
               abspath   => '/public/test.xml'
             , data      => doc
             , schemaurl => 'my_schema.xsd'
             , elem      => 'employee'
    end;
    The resource has to be schema-based so that the default storage mechanism is triggered.
    It could also be achieved if the document possesses an xsi:noNamespaceSchemaLocation attribute :
    SQL> declare
      2 
      3    res  boolean;
      4    doc  xmltype := xmltype(
      5  '<employee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      6             xsi:noNamespaceSchemaLocation="my_schema.xsd">
      7    <details>
      8      <emp_id>1</emp_id>
      9      <emp_name>SMITH</emp_name>
    10      <emp_age>40</emp_age>
    11      <emp_dept>10</emp_dept>
    12    </details>
    13   </employee>'
    14   );
    15 
    16  begin
    17    res := dbms_xdb.CreateResource(
    18             abspath   => '/public/test.xml'
    19           , data      => doc
    20           );
    21  end;
    22  /
    PL/SQL procedure successfully completed
    SQL> set long 5000
    SQL> select * from "employee1121_TAB";
    SYS_NC_ROWINFO$
    <employee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceS
      <details>
        <emp_id>1</emp_id>
        <emp_name>SMITH</emp_name>
        <emp_age>40</emp_age>
        <emp_dept>10</emp_dept>
      </details>
    </employee>
    Then use XMLTABLE to shred the XML into relational format :
    SQL> select x.*
      2  from "employee1121_TAB" t
      3     , xmltable('/employee/details'
      4         passing t.object_value
      5         columns emp_id   integer      path 'emp_id'
      6               , emp_name varchar2(30) path 'emp_name'
      7       ) x
      8  ;
                                     EMP_ID EMP_NAME
                                          1 SMITH

  • Missing slide name in xml file

    Before I upgrade from Captivate 5.5 to 7 I need to understand why - When I open the xml file to  review the quiz results, I cannot find the slide name.  When I give management the test results, I would like to have the slide name, with the rest of the information.  Is there a complete tutorial I can review to show me how to.

    Hi Lisa,
    What I understood from your question is: SAP is generating a file and you want to add few more things to that file in XI.
    If we both are on the same page then you can create a xsd or extend the current xsd with the additional fields and then can load the file and send across XI.
    If we are not on the same page then can you throw some more light on this?
    Regards,
    ---Satish

  • Changing default name of FDF file created by submit button

    Hi all,
    I was wondering if there was a way to change the default file name used by acrobat when the submit button is clicked. Currently, when a user clicks the submit button on my form, acrobat allows them to generate an FDF file and either save it to their hard drive or attach it to an email, but uses the file name "<name of pdf form>.fdf" I would like to change this to a unique ID that is generated based on form data. I didn't have any problems generating the UID, but I can't figure out how to change the name of the FDF file.
    Does anyone know if this is possible?
    Thanks.
    Jose

    Do you sign the document before extending the features? If you do then make sure "Lock the Document after signing" checkbox is not checked. Try this:
    Clear all signature fields.
    Click on the field that you want to sign
    "Sign Document" window will appear
    In the left bottom corner this check box will appear.
    Uncheck it.

  • Trying to change the name of 1 file

    I have searched the topic and have not found a solution that works for me,
    I am trying to write an AppleScript that will change the name of a single file from path:old.txt to path:new.txt
    I have tried
    tell application "Finder"
    set name of file "work.txt" to PartA & PartG & ticker & ".txt"
    end tell
    among others and always either receive an error message, access denied or unable to set old file name to new file name

    You're missing the point.
    set name of file "work.txt" to PartA & PartG & ticker & ".txt"
    When you set the name of the file, the Finder needs two things - the original file that you're trying to rename, and the new name you want it to take.
    In your revised script you're specifying the existing name (not path) of the file you want to change, and specifying its path along with the new name. That's the wrong way around.
    Think of this command in the following manner:
    set name of (original file specification) to (new file name)
    Now, in the case of the 'original file specification' you need to provide enough information for the Finder to identify the file. You're just saying 'work.txt', but that is not enough (and that's why it's complaining). There could be a hundred 'work.txt' files spread around in different directories on your disk. How is the Finder supposed to know which one you want to change?
    A better format would be:
    tell application "Finder"
      set name of (file "work.txt" of path to desktop) to "ABC.txt"
    end tell
    In this way the Finder can absolutely identify which file you want to change (the file 'work.txt' that's on your desktop) and the new name you want it to take.
    Now, if the file is not on your desktop you can amend the script to include the relevant path, e.g.:
    tell application "Finder"
      set name of (file "work.txt" of folder "blah" of disk "disk name") to "ABC.txt"
    end tell
    This tells the Finder to look in the folder 'blah' on the specified disk.
    You can also do this by including the path to the file in the form:
    tell application "Finder"
      set name of (file "disk name:blah:work.txt) to "ABC.txt"
    end tell
    where you use : to delimit each folder in the path.
    Hope that helps.

  • Assigning Name to XML file

    Hi Y'all,
    I'd like the XML file name being submitted with "Submit via Email" button be value entered in one of the required text fields.
    In current case name of the field is ClubNumber. For xample if user entered 22155 in the field, the XML file would be named 22155.xml.
    How can I do that?
    Thanks,

    You can set the subject line using the ?subject= parameter in the mailto target. For example:
    if (SCODAchievementsData.rawValue != null)
    var oSubmitTarget = this.resolveNode("#event.#submit").target;
    var nLoc = oSubmitTarget.indexOf("?subject=");
    if (nLoc > -1)
    var target = oSubmitTarget.substring(0, nLoc);
    this.resolveNode("#event.#submit").target = target + "?subject=" + SCODAchievementsData.rawValue;

  • Logic changing the names of audio files when I drag and drop into arrange

    i am dropping some 44.1/24 bit files into logic and for some reason out of nowhere the names of the files are changed. it removes digits i have entered in the file for identification purposes, so i am no longer sure what they are, and seems to be replacing it with "#". could it have something to do with import settings? i have not changed any...

    This happens because until recently Logic didn't handle long filenames very well.
    Long filename support was added in Logic 9.1.x so I recommend upgrading to that version - or using shorter file/pathnames.
    The #7875 bit appended to the name is the number of the disk block the file is stored at...

  • Changing content type of xml file to pdf

    Hello,
    I have an xml file (extension is *.xdp) which can locally be opened with Adobe Reader and displays as a regular pdf file. Adobe has a technology that allows xml to be merged with a pdf shell, and thus populating the pdf file with the values retrieved from the xml file.
    My issue is that I want this to be done on an application server level (jboss in particular). In a servlet, I stream the xml file for the contents to be printed out within a browser (IE). I specify the content type to be application/pdf, however, the data is not being displayed within Adobe Reader, but rather as a regular xml file.
    Any help is greatly appreciated. Here is the code below:
    response.setHeader("Pragma", "public");
    response.setHeader("Cache-Control", "max-age=30");
    response.setContentType("application/pdf");
    ServletOutputStream out = response.getOutputStream();
    byte[] fileBytes = readFile();
    out.write(fileBytes);

    Yes, the xml does contain a reference to the shell pdf. This works fine if I do so manually (open the xml file using Adobe Reader). However, through a browser, it seems that the forced content type is completely ignored:
    <?xml version="1.0"?>
    <?xfa generator="XFA2_0" APIVersion="1.4.4127.0"?>
    <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
    <xfa:datasets xmlns="" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
    <xfa:data>
    <DocRoot>
    <Cldemographics<Cldatecreated>7/21/05</Cldatecreated...
    </DocRoot>
    </xfa:data>
    </xfa:datasets>
    <pdf href="/opt/jboss-tomcat-server-build-4.0.0-2/.../pdfShell/Shell.pdf"
    xmlns="http://ns.adobe.com/xdp/pdf/"/>
    </xdp:xdp>

Maybe you are looking for