How to change XML version in outbound XML file generated in XI

Hi, I am getting following two records in the beginnning of my out bound XML file.
<?xml version="1.0" encoding="utf-8" ?>
<ns0:MT_WPUUMS01_Salesdata xmlns:ns0="http://ws-sapretail-pos.com/salesdata">
Is there any control in XI to modify these two lines, in outbound files.
Also, for inbound files, is there any way to process messages successfully, even if XML files from other systesm comes in different formats (xml version tag and nso tag lines)

<?xml version="1.0" encoding="utf-8" ?>
<ns0:MT_WPUUMS01_Salesdata xmlns:ns0="http://ws-sapretail-pos.com/salesdata">
these two lines will be added when you create the  Message type name
MT_WPUUMS01_Salesdata  is the message type name
http://ws-sapretail-pos.com/salesdata"> is the name of your namespace......
so if you want to chage these two lines in each XML build your MT and namespace accordingly.......
even when you are importing the XML from o ther systems, you dnt have to worry about these tages as you import them in external definitation and select them only in message interface........should not be a problem if you import the XML from other systems
whole conecpt is when you add these two lines it will convert the XSD to XML so when you have the XML form other system you only need to crer ate the WSDL out of it...
let me know if i am not clear or if i understood your question wrong....

Similar Messages

  • I have 100 groups in planning for those 100 groups i want to build roles like interactive,view user,planner etc.for those how to change in export -import folder .xml file  in that edit  how  to change user roles in that xml it will generate automatic id.h

    I have 100 groups in planning for those 100 groups i want to build roles like interactive,view user,planner etc.for those how to change in export -import folder .xml file  in that edit  how  to change user roles in that xml it will generate automatic id.how to do that in xml file ?

    Thanks john for you are reply.
    I had tried what you sad.I open shared service in that foundation project i had export shared service.after that in import-export file.In that role.csv,user.csv,group.csv.Like this file have.When i open user file added some users after i trying save in excel it shown messgse
    I click yes and save the .csv file and import from share servie. i got error like this
    am i doing right way john.or explain clearly

  • How to change the date format in xml form?

    hi,
    How to change the date format in xml form?
    For example:  11/20/2008 3:00:03 PM    ->   11-20 03:00
    Any opinions greatly appreciated!
    Thanks.
    Edited by: ke wenxing on Dec 2, 2008 8:33 AM

    You could go to System - User Profile - Own Data would take you to the "maintain user profile screen"
    Click the defaults button and change the date format.This changes date format for all the dates in your login.

  • I have Photoshop CS6.  I recently purchased a Nikon D750.  I can't seem to figure out how to update my version to read raw files.  I am not computer illiterate, but not a IT wiz either.  I have a pc with windows 7.

    I have Photoshop CS6.  I recently purchased a Nikon D750.  I can't seem to figure out how to update my version to read raw files.  I am not computer illiterate, but not a IT wiz either.  I have a pc with windows 7.

    Have you updated Camera Raw to 8.7?
    Camera Raw plug-in | Supported cameras
    Camera Raw plug-in installer

  • How to change UTF-8 encoding for XML parser (PL/SQL) ?

    Hello,
    I'm trying to parse xml file stored in CLOB.
    p := xmlparser.newParser;
    xmlparser.parseCLOB(p, CLOB_xmlBody);
    Standard PL/SQL parser encoding is UTF-8. But my xml CLOB contain ISO-8859-2 characters.
    Can you advise me, please, how to change encoding for parser?
    Any help would be appreciated.
    null

    Do you documents contain an XML Declaration like this at the top?
    <?xml version="1.0" encoding="ISO-8859-2"?>
    If not, then they need to. The XML 1.0 specification says that if an XML declaration is not present, the processor must default to assume its in UTF-8 encoding.

  • How to change the output directory of .xml files

    Hi,
    There are lots of .xml files generated under
    $ORACLE_AS_HOME/j2ee/home/applications/xmlpserver/xmlpserver/xml.
    (ex:/usb/bipub3/oracle/oc4j_bi/j2ee/home/applications/xmlpserver/xmlpserver/xml).
    I found these files are generated in the following operation;
    1.Log in BI Publisher.
    2.Select the Schedules tab.
    I think they are kind of temp files so we will be able to delete them.
    But I'd like to know how to change the output directory.
    Can we change the above directory to other path?
    Regards.

    Why? As that may invalidate support since you configure/alter the deployment.
    The location is specified in oc4j_bi\j2ee\home\applications\xmlpserver\xmlpserver.war, so you could go into the war file and alter it.

  • How to change the attributes of an XML file

    hi peeps 'ope you can help me here i need to change the attributes of an xml file, i parse it first using a DOM parser but i cant find a way to change the attributes in the XML file, setAttribute() works only at runtime and doesn't change the attribute in the file itself. I can't find a method that will answer my question. I've searched through the forum and found similar threads....they say in order to write and change the attribute i must use the write() method of the XmlDocument class defined in com.sun.xml.tree.XmlDocument. But, i found another thread, and it says that com.sun.xml.tree.XmlDocument is not safe to use and i should use org.apache.crimson.tree.XmlDocument.....i can't find the XmlDocument class and the API for this package so i really dont know where to start...hope you guys can help me! thnx

    thanks for responding roland....i already found the solution...i didn't use the XmlDocument class because i can't find any documents about it except for JAXP 1.0 here is my code snippet...i used the TransformerFactory and Transformer class to write
    import org.w3c.dom.*;
    import org.w3c.dom.traversal.*;
    import javax.xml.parsers.*;
    import javax.xml.transform.*;
    import javax.xml.transform.dom.*;
    import javax.xml.transform.stream.*;
    Document doc = null;
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    DocumentBuilder db = dbf.newDocumentBuilder();
    dbf.setValidating(false);
    doc = db.parse(fileGetFile); //this is the XML file
    n1 = (Node)doc.getDocumentElement();
    e1 = (Element) n1;
    NodeList nodeList = doc.getElementsByTagName ("File");
    //just insert whatever you want to do with the XML...parse it..set/change the attribute..etc....sample snippet below changes the attribute downloaded to "no"
    for(int iWriteFailed = 0; iWriteFailed <nodeList.getLength() ; iWriteFailed ++){     
    n2 = nodeList.item(iWriteFailed);
    e2 = (Element) n2;          
    e2.setAttribute("downloaded", "no");}
    try{
    TransformerFactory transformerFactory = TransformerFactory.newInstance();
    Transformer transformer = transformerFactory.newTransformer();
    transformer.transform(new DOMSource(doc), new StreamResult ( new FileOutputStream ( fileGetFile) ) );}
    catch(Exception trans){}
    thanks for responding and keeping the information interchange alive here in the forum...
    Pau

  • Reg : xml version attribute in xml

    Hi, van body tell me what is the significance of version attribute.
    sometimes we use 1.0 , some times we use 4.0.
    2 ) encoding attribute...? when we use UTF , ISO. and tell me among the
    version , encoding which are mandatory, optional.
    <?xml....?> --tag is optinal or not                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    The version attribute specifies the version of the XML standard you are using. 4.0 is not a valid version. You get 1.0 or (maybe if the parser supports it), 1.1. There is no XML version 4.0.
    This value is not to be used for versioning your documents within your application context but is for parsers to determine which version of XML they must comply with when parsing your document.
    See the prolog section in the XML specification:
    http://www.w3.org/TR/xml/#sec-prolog-dtd
    The encoding lets your parser know how the document's bytes were encoded so it can decode them properly. A simple google search for info on the encoding types, UTF-8, UTF-16, ISO-8859-1, etc. will tell you all you need to know.
    Finally, the declaration <?xml ...?> is optional but recommended. Not only is it good practice, but it will ensure maximum portability of your documents (some parsers will reject the doc if you don't have it).

  • XML versions supported in XML Publisher 5.6.2

    Hi everyone,
    can someone tell me, which versions of the XML specification
    - XSLT 1.0 or XSLT 2.0
    - XPath 1.0 or XPath 2.0
    are supported in the rtf templates of XML Publisher 5.6.2?
    Thanks in advance

    XML Publisher 5.6.2 API may be used in JDeveloper 11g by importing the Oracle JDBC library definition from JDeveloper 10.1.3. Instead of the Oracle JDBC library in JDeveloper 11g create a Oracle JDBC library from the JDeveloper 10.1.3 Oracle JDBC library JAR files.

  • How to change language version of Photoshop?

    I'm CC subscriber since few days ago, and after installing different language version of PS, I now want English Photoshop instead. The first installed version is deleated, but I can't find out how to change to English version. Can anyone help?

    Cloud language change http://helpx.adobe.com/creative-cloud/kb/change-installed-language.html

  • How to change JDK version??

    I have a problem, I am running Jdeveloper with out problems, but always, when JDeveloper is started I have this msg:
    JDK version not supported. ...
    JDeveloper executes with Java 1.6.0_51, and at least I need 1.7.0_06.
    I have downloaded the latest JDK and installed it, but nothing happen!!!
    How could I solve this??? I have a Mac OSX when I run
    $ java -version
    java version "1.7.0_25"
    Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
    Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
    I seems to be OK, but how can I indicate Jdeveloper to run this JDK? Not 1.6, I have edited also jdev.conf
    And i found : SetJavaHome @JAVA_HOME@
    How to change Java_Home????

    Hi,
    Always mention your JDev version.
    Have you tried setting SetJavaHome <your_java_home_where_jdk17_installed> in the jdev.conf file and see if it gets opened properly?
    -Arun

  • How to change firmware version for N73

    Hi
    I wanted to force an upgrade for my firmware.
    Can u let me know how to do it?
    it says " No software updates available for your phone
    n73 Rm132 4.0728.3.1.1 .How can i change this version to lower one so that it updates?

    hi
    me also having a problem with my mobile firmware version, i have a latest version V 4.0812.4.0.1. when ever i try to install a software to my mobile the EXPIRED CERTIFICATE error is shown. i change my mobile date to back years but the problem remains.
    i want to go back version, is it possible otherwise what to do, Plz let me know.
    Thanks

  • How to change the image of a selected File/Directory in JFileChooser while

    Hi all,
    I am trying to customize JFileChooser. Basically, I want to display a checked Icon for a selected directory(s) in JFileChooser
    I know that fileView class returns icon for directory/files, but I am not sure how to change their images on selection.
    your help is appreciated.
    Ramesh

    could you please anyone help me with this. I search all the web but I was not successful to find anything that would help me to create a custom renderer for JList component inside JFileChooser..
    if you can give me some reference websites that would be great.
    Ramesh

  • How to change the path of all dbf files once database installed...

    Hi All,
    I m using 10g Database...
    During my DBCA installation I forget to change location of the database files, redlologs and control files... and my Database is successfully installed. Now, I want to change my all these above mention files location And also adump,bdump,cdump and udump...so what I did is
    1- create pfile from spfile.
    2- Shutdown immediate.
    3- from OS level copies all files to new location.
    4- Editing in pfile
    5- Startup with new pfile and check all the locations...
    for datafiles
    SQL> select FILE_NAME,TABLESPACE_NAME,STATUS from dba_data_files;
    (this shows me the older location not new one.)
    for controlfiles,adump,bdump,cdump and uduump
    SQL>Show parameter...
    6- create spfile from pfile .
    pl. suggest me what should I do for the datafiles?
    Thx,

    Hi All,
    Thx for ur support.
    I go through with both links and able to success for the renaming of all datafiles except system and undotbs.. as below :
    SQL> alter tablespace sysaux offline normal;
    Tablespace altered.
    SQL> alter tablespace sysaux rename datafile '/u01/app/oracle/product/10.2.0/oradata/elitrepl/sysaux01.dbf'
    2 to '/u01/app/oracle/oradata/elitrepl/sysaux01.dbf';
    Tablespace altered.
    SQL> select FILE_NAME,TABLESPACE_NAME,STATUS from dba_data_files;
    FILE_NAME TABLESPACE_NAME STATUS
    /u01/app/oracle/oradata/elitrepl/sysaux01.dbfSYSAUX AVAILABLE
    but for the system n undotbs.. what I did is below :
    SQL> startup exclusive mount elitrepl
    SQL> alter database rename file '/u01/app/oracle/product/10.2.0/oradata/elitrepl/system01.dbf' to
    2 '/u01/app/oracle/oradata/elitrepl/system01.dbf';
    Database altered.
    SQL> alter database elitrepl open;
    alter database elitrepl open
    ERROR at line 1:
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: '/u01/app/oracle/oradata/elitrepl/system01.dbf'
    Now, I don't hv any backup of my database.... let me know how to overcome this scenario?

  • Create Archive, how to change the behavior of the default file naming?

    From an earlier post on archiving via the contextual menu in the Mac OS X Finder:
    "If you archive a single item, the archived file has the name of the original item with a ".zip" extension. If you archive multiple items at once, the archived file is called Archive.zip."
    Is there a way to change the behavior of this?
    I ask because I want to archive a single file, say "photo.psd" and when I do I get an archive called "photo.psd.zip" - is there a way to create an archive from the contextual menu and have the original file extension be appended? - in this case I would want "photo.zip" to be the end result.
    Also, is there a way to change the behavior of archiving multiple files? To, say, create a differently named file afterwards instead of the default "Archive.zip" - perhaps something a little more descriptive but standard, like "YourFilesCompressed.zip" - something that would stay the same across each archive creation.
    Thanks, I've been manually renaming after all create-archive's. And I do realize other applications could probably do this, but I'm thinking there must be a way to do this in the finder, no? A terminal command? Any ideas would be appreciated.

    Try looking at the documentation for the ditto and zip Terminal commands.
    (14504)

Maybe you are looking for