How to change XML Schema in MDM Console?

Hi Experts,
My scenario: SRM send products to MDM Catalog using PI.
I need to change the XML Schema (XSD) for processing some new fields that don't exist in Catalog. So I created a copy of the XSD file in my station and made the necessary changes.
In XML Schema (MDM Console), I changed the FileName for getting the XSD I created.
But when I tested SRM Shopping Cart again, this couldn't access the products in Catalog anymore.
1) After my chage the FileName shows the name with "c:\Documents and Settings\...". Does it work?? Is this the cause of the error?
2) Do you know why my change affect the Shopping Cart access to the products in the Catalog?
3) Now I don't know how to undo my change in FileName. I can't do it because in the FileName MDM Console it doesn't allow to write it. It allows only to choose a file in some place, my station for example.
Could anyone help me?
Thanks!
Rose

Hi Kanstantsin,
I was analysing what you explain, but it was not exactly this problema. But what you wrote, help me to understand better the MDM and lets me know more about schemas .
Thank you very much for your help.
Hi Vinary,
It was exactly this. I had edited the name. I changed it and now it is working.
Thank you very much for your help!
Rose

Similar Messages

  • XML schema in MDM Console

    Hi! I have created a new XML and XSD for catalog item load. This is for batch processing of imports. I understand that I have to assign the format and XSD to the port relevant for this load. Before I can do that, I have to add the new XSD via Console > Admin > XML Schemas. The XSD is located on my C: Drive. After I have added the XSD schema, I noticed that the File Name colume is showing 'C:\product.xsd'. This is different from the other XSD that already existed in the system. For example, MDMSupplierListTransmission has filename MDMSupplierListTransmission without Namespace.xsd. My questions are:
    1. I assume that the xsd MDMSupplierListTransmission is located on the server? If so, where can I find them?
    2. For the XSD that I have added, is there a way for me to have it load onto the server (assuming 1 is correct)?
    Appreciate your enlightenment on this.
    Cheers!
    SF

    Hi SF,
    If you have generated an XSD File from your system and then uploaded from the system to your MDM console.
    It should work fine without nay problem.
    Thats the standard way to do it,if you dont have an already existing XSD and have to create one..
    Once the XSD file is loaded in console and its correct ,then your XML file must be allowed to import using it.
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • How to change the Schema (DB2, Oracle) in CommandTable at run time

    Dear all,
    I have a problem as below:
    I have created report with CommandTable, then I am using Java and CRJ 12 to export data. So how to change the SCHEMA in CommandTable? 
    Please help me on this.
    Ex: CommandTable is SELECT * from SCHEMA.TableA, SCHEMA.TableB
    Thanks,
    Nha

    Dear Ted,
    I want to change DataSource, it means the report will be load and change connection at run time (using CRJ SDK) and i want to change the SCHEMA.Tablename in CommandTable in report.
    I also use the parameter to do it, but it can not be at run time, just correct when designing.
    Could you please help me on this. You can post the code if any.
    Thanks,
    Nha

  • How to Create XML Schema From JTree ?

    Please help me... Thank you.
    This is Code
    Tree.java ----- Run This File
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.tree.DefaultMutableTreeNode;
    public class Tree extends JPanel implements ActionListener {
        private int newNodeSuffix = 1;
        private static String ADD_COMMAND = "add";
        private static String REMOVE_COMMAND = "remove";
        private static String CLEAR_COMMAND = "clear";
        private static String OK_COMMAND = "ok";
        private DynamicTree treePanel;
        public Tree() {
            super(new BorderLayout());
            //Create the components.
            treePanel = new DynamicTree();
            //populateTree(treePanel);
            JButton addButton = new JButton("Add");
            addButton.setActionCommand(ADD_COMMAND);
            addButton.addActionListener(this);
            JButton removeButton = new JButton("Remove");
            removeButton.setActionCommand(REMOVE_COMMAND);
            removeButton.addActionListener(this);
            JButton clearButton = new JButton("Clear");
            clearButton.setActionCommand(CLEAR_COMMAND);
            clearButton.addActionListener(this);
            JButton okButton = new JButton("OK");
            okButton.setActionCommand(OK_COMMAND);
            okButton.addActionListener(this);
            //Lay everything out.
            treePanel.setPreferredSize(new Dimension(300, 150));
            add(treePanel, BorderLayout.CENTER);
            JPanel panel = new JPanel(new GridLayout(0,1));
            panel.add(addButton);
            panel.add(removeButton);
            panel.add(clearButton);
            panel.add(okButton);
            add(panel, BorderLayout.LINE_END);
        /*public void populateTree(DynamicTree treePanel) {
            String p1Name = new String("Parent 1");
            //String p2Name = new String("Parent 2");
            String c1Name = new String("Child 1");
            //String c2Name = new String("Child 2");
            DefaultMutableTreeNode p1;
            p1 = treePanel.addObject(null, p1Name);
            //p2 = treePanel.addObject(null, p2Name);
            treePanel.addObject(p1, c1Name);
            //treePanel.addObject(p1, c2Name);
            //treePanel.addObject(p2, c1Name);
            //treePanel.addObject(p2, c2Name);
        public void actionPerformed(ActionEvent e) {
            String command = e.getActionCommand();
            if (ADD_COMMAND.equals(command)) {
                //Add button clicked.
                treePanel.addObject("New Node " + newNodeSuffix++);
            } else if (REMOVE_COMMAND.equals(command)) {
                //Remove button clicked.
                treePanel.removeCurrentNode();
            } else if (CLEAR_COMMAND.equals(command)) {
                //Clear button clicked.
                treePanel.clear();
            } else if (OK_COMMAND.equals(command)) {
                 //Ok button clicked.
                 treePanel.ok();
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event-dispatching thread.
        private static void createAndShowGUI() {
            //Create and set up the window.
            JFrame frame = new JFrame("Craete XML Tree");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Create and set up the content pane.
            Tree newContentPane = new Tree();
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.setContentPane(newContentPane);
            //Display the window.
            frame.pack();
            frame.setVisible(true);
        public static void main(String[] args) {
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    }DynamicTree.java
    import javax.swing.JOptionPane;
    import java.awt.GridLayout;
    import java.awt.Toolkit;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTree;
    import javax.swing.tree.DefaultMutableTreeNode;
    import javax.swing.tree.DefaultTreeModel;
    import javax.swing.tree.MutableTreeNode;
    import javax.swing.tree.TreePath;
    import javax.swing.tree.TreeSelectionModel;
    import javax.swing.event.TreeModelEvent;
    import javax.swing.event.TreeModelListener;
    public class DynamicTree extends JPanel {
        protected DefaultMutableTreeNode rootNode;
        protected DefaultTreeModel treeModel;
        protected JTree tree;
        private Toolkit toolkit = Toolkit.getDefaultToolkit();
        public DynamicTree() {
            super(new GridLayout(1,0));
            rootNode = new DefaultMutableTreeNode("Root Node");
            treeModel = new DefaultTreeModel(rootNode);
            treeModel.addTreeModelListener(new MyTreeModelListener());
            tree = new JTree(treeModel);
            tree.setEditable(true);
            tree.getSelectionModel().setSelectionMode
                    (TreeSelectionModel.SINGLE_TREE_SELECTION);
            tree.setShowsRootHandles(true);
            JScrollPane scrollPane = new JScrollPane(tree);
            add(scrollPane);
        /** Remove all nodes except the root node. */
        public void clear() {
            rootNode.removeAllChildren();
            treeModel.reload();
        public void ok() {
             int n = JOptionPane.showConfirmDialog(null, "Do you want to create XML Schema?", "", JOptionPane.YES_NO_OPTION);
        /** Remove the currently selected node. */
        public void removeCurrentNode() {
            TreePath currentSelection = tree.getSelectionPath();
            if (currentSelection != null) {
                DefaultMutableTreeNode currentNode = (DefaultMutableTreeNode)
                             (currentSelection.getLastPathComponent());
                MutableTreeNode parent = (MutableTreeNode)(currentNode.getParent());
                if (parent != null) {
                    treeModel.removeNodeFromParent(currentNode);
                    return;
            // Either there was no selection, or the root was selected.
            toolkit.beep();
        /** Add child to the currently selected node. */
        public DefaultMutableTreeNode addObject(Object child) {
            DefaultMutableTreeNode parentNode = null;
            TreePath parentPath = tree.getSelectionPath();
            if (parentPath == null) {
                parentNode = rootNode;
            } else {
                parentNode = (DefaultMutableTreeNode)
                             (parentPath.getLastPathComponent());
            return addObject(parentNode, child, true);
        public DefaultMutableTreeNode addObject(DefaultMutableTreeNode parent,
                                                Object child) {
            return addObject(parent, child, false);
        public DefaultMutableTreeNode addObject(DefaultMutableTreeNode parent,
                                                Object child,
                                                boolean shouldBeVisible) {
            DefaultMutableTreeNode childNode =
                    new DefaultMutableTreeNode(child);
            if (parent == null) {
                parent = rootNode;
            treeModel.insertNodeInto(childNode, parent,
                                     parent.getChildCount());
            //Make sure the user can see the lovely new node.
            if (shouldBeVisible) {
                tree.scrollPathToVisible(new TreePath(childNode.getPath()));
            return childNode;
        class MyTreeModelListener implements TreeModelListener {
            public void treeNodesChanged(TreeModelEvent e) {
                DefaultMutableTreeNode node;
                node = (DefaultMutableTreeNode)
                         (e.getTreePath().getLastPathComponent());
                 * If the event lists children, then the changed
                 * node is the child of the node we've already
                 * gotten.  Otherwise, the changed node and the
                 * specified node are the same.
                try {
                    int index = e.getChildIndices()[0];
                    node = (DefaultMutableTreeNode)
                           (node.getChildAt(index));
                } catch (NullPointerException exc) {}
                System.out.println("The user has finished editing the node.");
                System.out.println("New value: " + node.getUserObject());
            public void treeNodesInserted(TreeModelEvent e) {
            public void treeNodesRemoved(TreeModelEvent e) {
            public void treeStructureChanged(TreeModelEvent e) {
    }

    XML shema is basically an XML file. So u need to know how to create an XML,
    provided u know how the shema file should be.
    Creating an XML :
    http://forum.java.sun.com/thread.jspa?threadID=5181031&messageID=9705786#9705786

  • PL/SQL web service - how to use XML schema to define inputs/outputs?

    Hello,
    let us say I want to publish a PL/SQL web service. The package spec that I want to expose is:
    CREATE OR REPLACE PACKAGE myWebService AS
      FUNCTION loadResults(
        username   IN VARCHAR2,
        password   IN VARCHAR2,
        resultData IN XMLType)
      RETURN XMLType;
    END;When I use JDeveloper's wizard to publish my PL/SQL web service, the resulting WSDL contains this:
    <schema
        xmlns="http://www.w3.org/2001/XMLSchema"
        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
        xmlns:tns="http://uk/co/weatherbys/aapws/AAPWS.wsdl/types/"
        targetNamespace="http://uk/co/weatherbys/aapws/AAPWS.wsdl/types/"
        elementFormDefault="qualified">
        <element name="loadresultsElement">
            <complexType>
                <sequence>
                    <element name="username" type="string" nillable="true"/>
                    <element name="password" type="string" nillable="true"/>
                    <element name="resultdata" nillable="true">
                        <complexType>
                           <sequence>
                                <any/>
                             </sequence>
                        </complexType>
                    </element>
                </sequence>
            </complexType>
        </element>
        <element name="loadresultsResponseElement">
            <complexType>
                <sequence>
                    <element name="result" nillable="true">
                       <complexType>
                            <sequence>
                                <any/>
                            </sequence>
                        </complexType>
                    </element>
                </sequence>
            </complexType>
        </element>
    </schema>It is specifying that anything at all can be passed in and out from the two XMLType arguments, which is fair enough: it has no way of knowing what I am expecting and what I shall return.
    My question is, how do I tell JDeveloper that actually I want either or both of those XMLTypes to conform to a particular XML schema?

    You cannot format the date as a string, unless you do the conversion on the PL-SQL side, before you use it in your WebService mapping. It should be handled as a string.
    The only way to convert the XML from SOAP, using this encoding, into literal XML is to apply XSLT to the payload. Not sure why you would like to do this, as the payload should be consumed by another SOAP-awared stack.
    Hope this helps,
    Eric

  • How to populate XML schema details in XSLT output

    I want to print details about XML schema , xmlns on XSLT output as below.
    <?xml version="1.0" encoding="UTF-8"?>
    <CBISEDACReqLogMsg xsi:schemaLocation="urn:CBI:xsd:CBISEDACReqLogMsg.00.01.04 CBISEDACReqLogMsg.00.01.04.xsd"
    xmlns="urn:CBI:xsd:CBISEDACReqLogMsg.00.01.04" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    But in actual
    In my XSLT output I can see below.
      <?xml version="1.0" encoding="UTF-8" ?>
    - <CBISEDACReqLogMsg xmlns="urn:CBI:xsd:CBISEDACReqLogMsg.00.01.04">
    My XSLT is as code is below
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="2.0"
    xmlns:calendar="http://www.oracle.com/XSL/Transform/java/java.util.Calendar"
    xsl:schemaLocation="urn:CBI:xsd:CBISEDACReqLogMsg.00.01.04 CBISEDACReqLogMsg.00.01.04.xsd"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns="urn:CBI:xsd:CBISEDACReqLogMsg.00.01.04"
    xmlns:string="http://www.oracle.com/XSL/Transform/java/java.lang.String"
    exclude-result-prefixes="calendar string">
      <xsl:output method="xml" indent="yes" encoding="UTF-8"></xsl:output>
      <xsl:template match="/">
    Kindly help me for how to show other required details in XSLT output.

    I am in the same boat. How do I disable XML Validation in NW BPM?
    In my case, Data comes from PI to NW BPM. But PI never cares about schema validation unless asked for. I have at least a 100 WSDLs that are failing to receive messages if I could not turn this off in BPM. I can not fix the Data Type as it is supported by third party.
    Any help is appreciated.
    VJ

  • How to change XML Tag sequence in XML Publisher Reports

    Hi Experts,
    I am working on XML Publisher reports, EBS 11I and Database 9i. I have standard report 'PO Printed Purchase Order Report (XML)', it's output type is XML. I want to change the sequence of groups in XML file.
    I am getting XML tags like below at present:
    LIST_G_HEADERS \ G_HEADERS \ LIST_G_HEADER_NOTES
    I want to change the sequence of groups like below.
    LIST_G_HEADERS \ G_HEADERS \ LIST_G_LINES \
    Could somebody help me how to change the sequence of XML Groups.
    Thanks in advance.

    Paul,
    This works.  Thanks!
    I am still working through the implications of having a data connection defined.  I notice that every time I submit, it creates two records in my database, one with all the fields blank, and one with the data and attachment.
    I will have to do some more digging into the double submission, but at least it is uploading the file.
    Thanks again,
    Ed

  • How to change parsing schema for REST

    Hi all,
    I'm trying to test the new REST Webservice feature, but this leads to an error:
    Using Apex 4.2.1.00.08, Listener 2.0.1.64.14.25 I set up a simple WebService (method: GET, format: JSON) which
    querys a table.
    When I try to test my webservice (using "Test" button) the following error is shown:
    Request Path passes syntax validation
    Mapping request to database pool: PoolMap [_poolName=apex, _regex=null, _workspaceIdentifier=null, _failed=false, _lastUpdate=-1, _template=null, _type=REGEX]
    Applied database connection info
    Attempting to process with PL/SQL Gateway
    Not processed as PL/SQL Gateway request
    Attempting to process as a RESTful Service
    Determining if request can be dispatched as a Tenanted RESTful Service
    Request path has one path segment, continuing processing
    No Tenant Principal established yet, continuing processing
    APEX_LISTENER pool exists, continuing processing
    Matching tenant exists, continuing processing
    modul/template/ matches: modul/template/ score: 0
    Choosing: oracle.dbtools.rt.resource.templates.jdbc.JDBCResourceTemplateDispatcher as current candidate with score: Score [handle=JDBCURITemplate [scopeId=null, templateId=1019223475312614|5204902308237886, uriTemplate=modul/template/], score=0, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true]
    Determining if request can be dispatched as a Tenanted RESTful Service
    Request path has one path segment, continuing processing
    Tenant Principal already established, cannot dispatch
    Chose oracle.dbtools.rt.resource.templates.jdbc.JDBCResourceTemplateDispatcher as the final candidate with score: Score [handle=JDBCURITemplate [scopeId=null, templateId=1019223475312614|5204902308237886, uriTemplate=modul/template/], score=0, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true] for: GET modul/template/
    Choosing: oracle.dbtools.rt.jdbc.entity.JDBCTenantDispatcher as current candidate with score: Score [handle=oracle.dbtools.rt.jdbc.entity.JDBCTenantDispatcher$TenantTarget@1537060, score=1, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true]
    Chose oracle.dbtools.rt.jdbc.entity.JDBCTenantDispatcher as the final candidate with score: Score [handle=oracle.dbtools.rt.jdbc.entity.JDBCTenantDispatcher$TenantTarget@1537060, score=1, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true] for: GET prx/modul/template/
    prx/modul/template/ is a public resource
    modul/template/ is a public resource
    Using generator: oracle.dbtools.rt.json.query.JSONQueryGenerator
    Performing JDBC request as: POFFICE
    Error during evaluation of resource template: ORA-00942: Tabelle oder View nicht vorhanden
    I see what is going wrong: "Performing JDBC request as: POFFICE". JDBC is using a wrong schema ("POFFICE").
    So, my question is, how to change the parsing schema for JDBC/WebService?
    Thanks a lot,
    Michael

    jfle wrote:
    Yes - this is the reason,
    but is there a way to change or delete the first schema provisioned?See {message:id=3757162}
    We have deleted the poffice assignment to the workspace, but the REST-service executes with poffice?Don't know could be a bug.
    May be try exporting you restful webservice definition > Edit the export file in textpad/notepad and verify the parsing schema
    You will see a block something like below, there just amend the p_parsing_schema to desired > and then import it back
    wwv_flow_api.create_restful_module (
      p_id => 7113266627142076447 + wwv_flow_api.g_id_offset
    ,p_name => 'oracle.example.vikram2'
    ,p_parsing_schema => 'APX'
    ,p_items_per_page => 25
    ,p_status => 'PUBLISHED'
      );

  • How to change the schema to another user ?

    Hi,
    I've registerd this schema and it works well,
    but I need to change the schema to connect to another User like MYUSER_2.
    because I have to migrate the MYUSER_1 to MYUSER_2 and then to delete MYUSER_1
    when I register the schema again with this user MYUSER_2
    , all xml-entries will become destroyed ?
    what can I do ?
    it's better , to register the schema without a user ?
    Norbert
    dbms_xmlschema.registerSchema(
    schemaurl => vschemaurl,
    schemadoc => xsd_file,
    local => FALSE,
    gentypes => TRUE,
    genbean => FALSE,
    gentables => TRUE,
    force => FALSE,
    owner => MYUSER_1
    ,CSID => nls_charset_id('AL32UTF8');
    );

    If 2 seperate users need to work witht the same XML Schema then the XML Schema should be registered as a global Schema. If you want to change the owner of an XMLschema, just like if you want to change the owner of a relational; table you will have to export the data and import it again.

  • How to change parsing schema for using application in test environment?

    Hi,
    I set up a test environment, i.e. an other Oracle schema with identical tables, views etc. to the productive environment. I wanted to duplicate the APEX application so that there will be a test version using the test Oracle schema and productive version using the productive oracle schema.
    Can some one please give me some tip how to do this? As far as I see i could change the parsing schema in the APEX Application install SQL in the following ways:
    1. While exportin the application with APEX
    2. In the result install f...sql file using search-replace
    3. While importing the APEX application via APEX Development GUI.
    I would prefere 1. or 3. but in both cases when I would like to change the schema name, the drop dowl list does not contain the test Oracle schema name. Do I have to grant something to the APEX worksspace schema for the test schema name to show up in the drop dowl list?
    Tamás

    On that screen,
    - click Create
    - select "Existing" Schema, click Next
    - select the Workspace, click Next
    - select the Schema, click Next
    - click Add Schema
    And now you'll end up with two schema's attached for the same Workspace.

  • How to handle authorization assignment in MDM console

    How can we assign authorization based on different users role? Is there a function in MDM console? Thanks!

    Hi Alfred,
    Here I am giving you a small pratice case study to get clear picture of user authentication in MDM
    <u>Case:</u>
    Table A has five fields F1,F2,F3,F4,F5
    User X, User Y, User Z are three MDM user with different roles.
    <u>Objective:</u>
    User X should have read/write access to all the fields in Table A.
    User Y should have only read access to all the fields in Table A.
    User Z should have read access to F1,F2 and read/write access to F3,F4,F5 of Table A.
    <u>Steps:</u>
    1.     Create a role named “For User X”. Got to Tables and Fields tab, select Read/Write radio button for Table A.
    2.     Create user “User X” assign the role “For User X” to the user.
    3.     Create a role named “For User Y”. Got to Tables and Fields tab, select Read-Only radio button for Table A.
    4.     Create user “User Y” assign the role “For User Y” to the user.
    5.     Create a role named “For User Z”. Got to Tables and Fields tab, select Read-Only radio button for fields F1,F2, select Read/Write radio buttons for fields F3,F4,F5.
    6.     Create user “User Z” assign the role “For User Z” to the user.
    7.     Also go to Functions tab, set the permissions like create, delete to the roles.
    <u>Testing:</u>
    1.     Login to Data Mgr as User X, now you can
    2.     Login to Data Mgr as User Y, now you can only read the data. If you try adding/updating/deleting any data it will throw warning message.
    3.     Login to Data Mgr as User Z, now you can edit fields F1,F2 but when try to edit F3 or F4 or F5, system will throw warning message.
    <u>Creating Masks and assigning to a role:</u>
    1.     Login to Data manager as Admin.
    2.     Create a mask in the mask table.
    3.     Go to main table, right click on the record(s) and add them to the mask. Or do free form search based on hierarchy and add the records to the mask.
    4.     Go to Console->Admin->Roles table->select a role say “For User X” -> tables and fields tab->drill down to mask table->select the mask from constraints field.
    <u>Testing:</u>
    1.     Login to data mgr as User X.
    2.     Now you can see the masked records only.
    3) Is this action of authorization assignment a little bit same with what we usually do in SAP R/3?
         No idea…
    Thanks,
    Arun prabhu S

  • Syndication mapping when changing XML schema

    I have used a ARTMAS04 XML schema and done mapping in the syndicator and saved the map. Then we are doing changes i SAP R/3 and need to add some extentions in the IDOC and therefor also the XML schema. I then add my new schema with the extentions into the the syndicator, and try to open the mapping. Then the mapping is done using the old schema. This means that if I do a change in an XML schema, I need to to map everything from scratch. Does anyone have a solution to this problem?
    Regards John-Kjell

    Hi John,
    The maps saves not only the mappings but also the destination properties for that particular scenario.
    Hence as soon as you change the destination properties i.e your XML schema, and try to open your old map which is using different XML schema your changes will be lost and you will end up with using old XML schema only.
    As far as i know, to handle this situation you have to do all the mappings again.
    Hope this helps.
    Regards,
    Pooja

  • How to deploy XML schemas a web application?

    Hi,
    I have a couple of XML schemas in the project, which I want to import them into my BPEL using http url.
    How can I deloy XML schemas as a web application.
    Any inputs are appreciated.
    Thanks.
    ~V~

    You already asked this question:
    http://forum.java.sun.com/thread.jspa?threadID=5150005&messageID=9561597
    Obviously running notepad on the clients PC is not possible (ignoring active x)

  • How read a XML Schema

    Hi,
    i wish to ask you a question: how i can read a XML Schema? Which library i have to use to visit a XML Schema? There are examples on internet? I haven't found anything about it.
    Please help me.
    Thank you, regards
    Gianni

    WXS schemas and RelaxNG schemas have an XML encoding, so any XML parser can read them. ASN1 XML schemas and compact RNG schemas require specialist parsers.
    If you wish to populate a more useful structure than DOM, then Castor has classes to represent and manipulate WXS, though I've not used them myself.
    Pete

  • How to change xml declaration using jaxb Marshaller

    please, my xml declaration, in the output file generated by jaxb: javax.xml.bind.Marshaller is:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    I need to change it in:
    <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet type="text/xsl" href="style.xsl"?>
    I don't have idea about how to change.
    thanks a lot alessandro

    Hello.
    public void saveJaxbObjectToFile(String packageName, Object myJaxbObject, String fileName)
    throws JAXBException, ParserConfigurationException, TransformerConfigurationException,
    TransformerException, FileNotFoundException, IOException {
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    dbf.setNamespaceAware(true);
    DocumentBuilder db = dbf.newDocumentBuilder();
    org.w3c.dom.Document document = db.newDocument();
    JAXBContext jAXBContext = JAXBContext.newInstance(packageName);
    Marshaller m = jAXBContext.createMarshaller();
    m.marshal(myJaxbObject, document);
    ProcessingInstruction processingInstruction = document.createProcessingInstruction("xml-stylesheet", "type=\"text/xsl\" href=\"style.xsl\"");
    Node rootElement = document.getDocumentElement();
    document.insertBefore(processingInstruction, rootElement);
    TransformerFactory transformerFactory = TransformerFactory.newInstance();
    Transformer transformer = transformerFactory.newTransformer();
    transformer = transformerFactory.newTransformer();
    transformer.setOutputProperty("indent", "yes");
    transformer.setOutputProperty("encoding", "UTF-8");
    transformer.setOutputProperty("version", "1.0");
    FileOutputStream fos = new FileOutputStream(fileName);
    transformer.transform(new DOMSource(document), new StreamResult(fos));
    fos.flush();
    fos.close();
    Good luck.

Maybe you are looking for