XML Document: Import Manager

hello all -
I have created an XML document in this format:
<MDM_PRD_ProductRecord>
  <data1>123</data1>
  <data2>456</data2>
  <MDM_PRD_Price>
    <test1>123</test1>
    <test2>456</test2>
  </MDM_PRD_Price>
  <MDM_PRD_Price>
    <test3>100</test3>
    <test4>101</test4>
  </MDM_PRD_Price>
  <MDM_UOM>
    <test5>5</test5>
    <test6>6</test6>
  </MDM_UOM>
  <MDM_UOM>
    <test7>7</test7>
    <test8>8</test8>
  </MDM_UOM>
</MDM_PRD_ProductRecord>
Seems like SP4 MDM is not loading this xml into the repository because of multiple xml elements <MDM_UOM>, <MDM_PRD_Price> and would expect in one xml file instead of having the xml file into multiple tables like <MDM_UOM> and <MDM_PRD_Price>
The file is being generated from XI. Just would like to know if there are other possibilities in MDM since i did not find any from the forums.
Any help is greatly appreciated.
Thanks,
Tirumal

Hi Tirumal,
the import of XMLs into MDM via Import Manager is easier, if you use an XML Schema. Since you are creating the file with XI, you should already have an XML Schema (or XSD). You can download this file from XI and add it to your repository in the Admin Section of the MDM console. Afterwards you use the option "XML Schema" and your XML in the Import Manager.
Kind regards
Michael

Similar Messages

  • See Multiple node names under Import manager source table of single XML

    Hi,
    I have a xml file with differnt nodes of following structure when it comes to IMport manager It shows multipletable names where I can choose Business Partner, Partner, RemoteSystem... But My maps are based on Partner only.. Now I need to update the look up Qualifer table.. of which values are in Type.. Which I am unable to see under Partner node in import manager...I dont see the fields of Type Node under Map Filed/Values tab...
    <Business_partner xlms....
    --<Partner>
    <Address>
    <name>   
    <name1>
    <Role>
    <A>   
    <B>
    <Remote SYstem>
    <name>   
    <Code>
    <Type>
    <Type>   
    <Type2>
    Can any one put there comments please..
    Thanks
    Rajeev

    Hello Rajeev
    "Import manager guide"
    page 36:
    "For XML source files, the source table list displays the nested elements defined in the XML schema."
    page 44:
    "The XML Schema list includes an entry for each XML schema defined in the MDM Console."
    page 86:
    "Ways in which the Source Hierarchy tree now reflects an XML fileu2019s structure include:
    u2022 Top-level node is the source XML file
    u2022 Tables in the tree represent nested XML structures
    u2022All tables are nested under the root element
    u2022 Fields in the tree represent data-storing XML elements
    u2022 Joins and _ID fields are no longer added or required
    With these changes, users no longer have to manually recreate the relationships implicit in the XML schema, as they are preserved by MDM and accurately reflected in the source hierarchy tree.
    NOTE ►► To ensure that Import Manager correctly interprets the structure of an XML file, specify its corresponding XML schema file in the Connect to Source dialog (see u201CStarting and Exiting the Import Manageru201D on page 43 for more information)."
    page 188:
    "When the source is an XML file, the Available Fields list is limited to nodes which are siblings (on the same level as), or children of (nested below) the currently selected Source Hierarchy tree node."
    page 213
    "For example, if a source file is in XML format, Import Manager uses a tree in the Source Fields grid to depict the nested structure of fields within the associated XML schema."
    Use XML schema for right node showing
    Regards
    Kanstantsin Chernichenka

  • XML file error while loading import manager

    Hi all,
    I am new to MDM.
    I have archive repository(.a2a file),xsd files,import maps and export maps.I have unarchived the repository in console and I am trying to load import manager by selecting the file type as XML schema, client system as MDM, XMl schema name and file name as XML file of given XSD in import manager folder of server.
    I am getting error like "failed to parse XML file".
    Please help me out regarding this.
    Thanks in advance.
    Ravi.

    Hi ravi,
    Is it MSXML 4.0 SP2 parser?
    <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=3144b72b-b4f2-46da-b4b6-c5d7485f2b42&DisplayLang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=3144b72b-b4f2-46da-b4b6-c5d7485f2b42&DisplayLang=en</a>
    Try installing this and let me know.
    Thanks and Regards,
    <b>Sagar Sonje</b>
    Message was edited by:
            Sagar Sonje

  • Maximum file size of imported XML document

    Is anyone able to tell me if there is a maximum size for XML files that you can import into a PDF document?? I need to know this as my client has a requirement for a very large data set within an interactive PDF generated using LiveCycle designer.

    Thanks. I have posted this in the LiveCycle designer forum but have had no reply. I have posted instead within this forum as importing an XML document is not specific to LiveCycle Designer and is instead an Acrobat Pro task and therefore question.

  • Trouble IMPORTING xml DOCUMENT....

    I may be banging my head against the wall (as usual)....
    but is there any way to import an xml document (a sequence from a fcp project) created in fcp 5.1.2 into my fcp version 5.0.4 --?
    I'm asked to 'choose a translation document file', when I go into my apps and select fcp, I get 'no translation templates matching the selected xml file were found. Unable to import'
    Thanks.

    I just got thru working a project with someone in 5.0.4 and I'm in 5.1 -- we did xml transfers back and forth and it worked very well.
    For some reason I chose to use XML version 2 out of the export window (just a guess) and it worked great.
    One thing I had to do was keep opening a new project file with the xml (but this mainly was to keep the other person from getting too confused.)
    It SHOULD work for you... it did me.
    File - Export - XML... or right click the sequence and Export as XML... then choose version 2 (or try the others too).
    Good luck,
    CaptM

  • Import XML document in MS Access through Jsp

    Hai,
    Can any one please tell how to import/store XML document into database, I have tried a lot, but failed to get the result. So please can anyone send me the related code for storing the XML document into database.
    Thanking you in advance,
    Praveen Vinnakota.

    You can store the XML Document as a String Data In the database and thus no need to use XML Parsers
    Bye for now
    CSJakharia

  • Import Manager - Convert Degree Symbol in XML

    We have a situation whereby in our XML file we use the following code &#xB0;  to convert to a degree symbol.  So, in our XML file it would read 45&#xB0;
    When I import this in Import Manager I get this: 45° Street Elbows
                            In our Taxonomy we have this: 45º Street Elbows
    So, when I Automap there's no matching because the symbols don't match.  If you notice carefully, the degree symbols are different.
    Does anyone have any suggestions that we can try so the symbols match?
    regards,
    Orlando

    if you use utf-8 simply but the real character into the data.
    named character entities such as
    &deg;
    has to be declared in your dtd.
    with character entities such as
    &#x00B0; or &#176;
    are working fine.
    regards,
    gregor

  • Updated xml schema not reflected in Import Manager and Syndicator

    Hi all,
    We have a perfectly running MDM scenario using custom XML schema for import and syndication. I have now updated the schema by adding a couple of fields to the schema and uploaded the new schema to MDM using Console - Admin - XML Schemas, and we have added the same fields in the repository. However, when I open Import Manager or Syndicator the xml schema is not updated, it is still showing the old version without the new fields. The fields added to the repository show up just fine.
    I have searched around the forum and it suggests I actually have to re-create manually all mappings with the new schema?! I cannot believe this is really necessary and would mean massive amounts of work.
    I have tried to export old maps and create new map with new schema. Then the new fields show up, but when I import the previously exported map the old schema returns and the new fields disappear.
    Any help with this seemingly very odd behavior is very much appreciated!
    Thanks,
    Kenneth

    Hi Kenneth, Aamir
    the statement
    > Uploading the XML schema in Console is mainly a placeholder, it not not synced with Import Manager or Syndicator schema at runtime.
    is not completely true. You have to differentiate the MDM version and the tools:
    MDM 7.1 Import Manager: uses the actual XSD of MDM Console
    MDM 7.1 Syndicator: stores the XSD as part of the map and disregards the one in MDM Console
    MDM 5.5 Import Manager: stores the XSD as part of the map and disregards the one in MDM Console
    MDM 5.5 Syndicator: stores the XSD as part of the map and disregards the one in MDM Console
    Best regards
    Michael

  • Is the transformation between XML document and 2 dimensions table important?

    To everyone:
    I am trying to write a paper on this topic.first ,i want to ask whether the transformation between XML data and table in RDBMS is important,because xml data is suitable to transfer from a point to another,but not for storage,so when the transfer begin a program(in DB2,the program is DB2 extender)should change the data format in table into a xml document.And vice versa,the destination point receive the xml document,maybe the same program would store it in table.
    so i wonder if such a program exists in the Oracle8i or later version,and the detail about how the program realizes above funciton.please tell me where can i find related paper or materials.
    thanks!

    To everyone:
    I am trying to write a paper on this topic.first ,i want to ask whether the transformation between XML data and table in RDBMS is important,because xml data is suitable to transfer from a point to another,but not for storage,so when the transfer begin a program(in DB2,the program is DB2 extender)should change the data format in table into a xml document.And vice versa,the destination point receive the xml document,maybe the same program would store it in table.
    so i wonder if such a program exists in the Oracle8i or later version,and the detail about how the program realizes above funciton.please tell me where can i find related paper or materials.
    thanks! That is all oracle XDK is for. You can transform query results to xml and xml back into RDBMS. Infact Oracle provides much more flexible way than a DB2 extender does. In DB2 you need to give a DAD before you get any XML. Oracle relies on the direct transformation of query results into XML and adds flexibility of XSL ontop of the data.
    You can get more information on XML technology section of OTN.
    Once you write the article can we get a chance to see it.

  • InDesign CC crashes when importing XML document

    First off thank you for looking and in advance for any help offered.  To the issue:
    I have an employee that is seeing consistent crashes on In design CC when trying to import one of our XML documents.  The XML file is around 150KB so not very big.  The actual indesign document and any graphics that might go into it are located on a server that is on our network.  The employee is working remotely.
    How best to go about troubleshooting this issue?

    Older scripts may not work directly in CC, but many ought to if placed into subfolders for their versions in your scripts folder, such as "Version 8.0 Scripts" without quotes, but case sensitive, for scripts that run in CS6.
    And no, it's not just you having trouble with CC.
    Have you seen this: Crash | Launch, selecting Type tool ?

  • Custom XML documents in ADF: managing them with MDS?

    Deleted. Please ignore.
    Edited by: ChristineWolak on Jan 5, 2011 8:02 AM

    ChristineWolak wrote:
    1. We want to have a DTD that will describe the metadata requirements. This should be possible, I think, though I don't know if it will validate any changes to the source file against the DTD.For version 11.1.1.3.0, the DTD referenced by the BC metadata is jbo_03_01.dtd. This file is packaged in a number of jars, among them adfm.jar in the following package \oracle\jbo\dtd. The adfm.jar can be found under %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1
    4. If all of the above is possible, then it should be possible to retrieve the XML document from the MDS repository, right? Can you tell me what the API is for that?Currently there is limited documentation - none that is ;), on how to achive this but possible if you dig around. Check this out: http://adfcodebits.blogspot.com/2010/12/bit-28-using-finddefobject-to-load-bc.html

  • Using external XML document to update / change text fields inside of published captivate output.

    Hello
    I currently have a project where the client has requested to have the ability to update the text fields inside the project at a later date.
    This is due to the nature of the content changing rather rapidly, i would like to set this up so the client can manage this them selfs.
    What would the best way to do this be?
    I'm thinking XML, an external XML sheet were by Captivate imports the text from this XML sheet and then displays it within the specific text fields contained within the captivate output.
    This way the client would just update the external XML document(cut and paste the text in) and then the text would be dynamically updated in the published Captivate document.
    any help would be amazing !
    Thanks in advance
    Nick

    Hi Lieve
    But isn't this thread more about an end user having an ability to change text after the Captivate has been published and delivered? I could see where that might be useful if making changes then publishing to create a new output. But I'm interpreting that the situation here is that a Captivate project has been published and delivered, and some mechanism is desired that allows the recipient to modify an external XML file to influence changes in the already compiled Captivate output.
    Cheers... Rick

  • Problem in digitally signing a particular element of an XML Document

    hi all!!
    I was trying to sign a particular element of an XML document using JSR105 (XML Digital Signatures) API.
    For which i used +#xpointer(id('idvalue'))+ and +#idvalue+ as the URI for the reference i create as below :
    Reference ref = fac.newReference("#xpointer(id('123')) ", fac.newDigestMethod(DigestMethod.SHA1, null), Collections.singletonList(fac.newTransform(Transform.ENVELOPED,(TransformParameterSpec) null)), null, null);
    NOTE: Here 123 is the value of the attribute 'id' of the element i wish to sign in the input XML document.
    But when i try to digest and sign the the above created reference, i get the following exception (which is strange! atleast for me!)
    Exception in thread "main" javax.xml.crypto.dsig.XMLSignatureException: javax.xml.crypto.URIReferenceException: Can't resolve ID: '123' in ''
    at com.ibm.xml.crypto.dsig.dom.ReferenceImpl.calculateDigestValue(ReferenceImpl.java:327)
    at com.ibm.xml.crypto.dsig.dom.ReferenceImpl.sign(ReferenceImpl.java:237)
    at com.ibm.xml.crypto.dsig.dom.XMLSignatureImpl.sign(XMLSignatureImpl.java:158)
    at sent.Generate.main(Generate.java:103)
    Caused by: javax.xml.crypto.URIReferenceException: Can't resolve ID: '123' in ''
    at com.ibm.xml.crypto.dsig.dom.URIDereferencerImpl.dereference(URIDereferencerImpl.java:193)
    at com.ibm.xml.crypto.dsig.dom.ReferenceImpl.calculateDigestValue(ReferenceImpl.java:285)
    +... 3 more+
    javax.xml.crypto.URIReferenceException: Can't resolve ID: '123' in ''
    at com.ibm.xml.crypto.dsig.dom.URIDereferencerImpl.dereference(URIDereferencerImpl.java:193)
    at com.ibm.xml.crypto.dsig.dom.ReferenceImpl.calculateDigestValue(ReferenceImpl.java:285)
    at com.ibm.xml.crypto.dsig.dom.ReferenceImpl.sign(ReferenceImpl.java:237)
    at com.ibm.xml.crypto.dsig.dom.XMLSignatureImpl.sign(XMLSignatureImpl.java:158)
    at sent.Generate.main(Generate.java:103)
    I've given the whole Java code i used to generate the signature and the XML i used below for you to get a clear picture of what i tried...
    Any suggestions are very much welcome..
    thanks..
    ragu
    Generate.java
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.security.InvalidAlgorithmParameterException;
    import java.security.KeyException;
    import java.security.KeyPair;
    import java.security.KeyPairGenerator;
    import java.security.NoSuchAlgorithmException;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import javax.xml.crypto.MarshalException;
    import javax.xml.crypto.dsig.CanonicalizationMethod;
    import javax.xml.crypto.dsig.DigestMethod;
    import javax.xml.crypto.dsig.Reference;
    import javax.xml.crypto.dsig.SignatureMethod;
    import javax.xml.crypto.dsig.SignedInfo;
    import javax.xml.crypto.dsig.Transform;
    import javax.xml.crypto.dsig.XMLSignature;
    import javax.xml.crypto.dsig.XMLSignatureException;
    import javax.xml.crypto.dsig.XMLSignatureFactory;
    import javax.xml.crypto.dsig.dom.DOMSignContext;
    import javax.xml.crypto.dsig.keyinfo.KeyInfo;
    import javax.xml.crypto.dsig.keyinfo.KeyInfoFactory;
    import javax.xml.crypto.dsig.keyinfo.KeyValue;
    import javax.xml.crypto.dsig.spec.C14NMethodParameterSpec;
    import javax.xml.crypto.dsig.spec.TransformParameterSpec;
    import javax.xml.crypto.dsig.spec.XPathFilterParameterSpec;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.Document;
    import org.xml.sax.SAXException;
    public class Generate {
          * @param args
          * @throws NoSuchAlgorithmException
          * @throws InvalidAlgorithmParameterException
          * @throws KeyException
          * @throws ParserConfigurationException
          * @throws IOException
          * @throws SAXException
          * @throws FileNotFoundException
          * @throws XMLSignatureException
          * @throws MarshalException
          * @throws TransformerException
         public static void main(String[] args) throws NoSuchAlgorithmException,
                   InvalidAlgorithmParameterException, KeyException,
                   FileNotFoundException, SAXException, IOException,
                   ParserConfigurationException, MarshalException,
                   XMLSignatureException, TransformerException {
              java.security.Security
                        .addProvider(new com.ibm.xml.crypto.IBMXMLCryptoProvider());
              XMLSignatureFactory fac = XMLSignatureFactory.getInstance("DOM",
                        new com.ibm.xml.crypto.IBMXMLCryptoProvider());
              //reference generation
              //its here where I point the URI to the element i want to digest
              Reference ref = fac.newReference("#xpointer(id('123'))", fac.newDigestMethod(DigestMethod.SHA1, null), Collections.singletonList(fac.newTransform(Transform.ENVELOPED,(TransformParameterSpec) null)), null, null);
              //signedinfo element generation
              SignedInfo si = fac
                        .newSignedInfo(fac.newCanonicalizationMethod(
                                  CanonicalizationMethod.INCLUSIVE,
                                  (C14NMethodParameterSpec) null), fac
                                  .newSignatureMethod(SignatureMethod.RSA_SHA1, null),
                                  Collections.singletonList(ref));
              KeyInfoFactory kif = fac.getKeyInfoFactory();
              //Create a DSA KeyPair
              KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA");
              kpg.initialize(512);
              KeyPair kp = kpg.generateKeyPair();
              KeyValue kv = kif.newKeyValue(kp.getPublic());
              // Create a KeyInfo and add the KeyValue to it
              KeyInfo ki = kif.newKeyInfo(Collections.singletonList(kv));
              // Instantiate the document to be signed
              DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
              dbf.setNamespaceAware(true);
              Document doc = dbf.newDocumentBuilder().parse(
                        new FileInputStream(new File("shippedPedigree.xml")));
              // Create a DOMSignContext and specify the DSA PrivateKey and
              // location of the resulting XMLSignature's parent element
              DOMSignContext dsc = new DOMSignContext(kp.getPrivate(), doc
                        .getDocumentElement());
              //Create the XMLSignature (but don't sign it yet)
              XMLSignature signature = fac.newXMLSignature(si, ki);
              // Marshal, generate (and sign) the enveloped signature
              signature.sign(dsc);
              //writing the signed document back to the file
              OutputStream os;
              os = new FileOutputStream(new File("shippedpedigree.xml"));
              TransformerFactory tf = TransformerFactory.newInstance();
              Transformer trans = tf.newTransformer();
              trans.transform(new DOMSource(doc), new StreamResult(os));
    the "shippedPedigree.xml" i used to sign:
    <?xml version="1.0" encoding="UTF-8"?>
    <ped:pedigree xmlns:ped="urn:epcGlobal:Pedigree:xsd:1" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
    <ped:shippedPedigree id="123">
    <ped:documentInfo>
    <ped:serialNumber>2233</ped:serialNumber>
    <ped:version>ped:version</ped:version>
    </ped:documentInfo>
    <ped:signatureInfo>
    <ped:signerInfo>
    <ped:name>Joe Doe</ped:name>
    <ped:title>Manager</ped:title>
    <ped:telephone>800-521-6010</ped:telephone>
    <ped:email>[email protected]</ped:email>
    <ped:url>www.kittinginc.com</ped:url>
    </ped:signerInfo>
    <ped:signatureDate>2001-12-31T12:00:00</ped:signatureDate>
    <ped:signatureMeaning>Certified</ped:signatureMeaning>
    </ped:signatureInfo>
    <ped:itemInfo>
         <ped:lot>123</ped:lot></ped:itemInfo>
    </ped:shippedPedigree></ped:pedigree>
    ------------------------------------------------------------------------

    Sabarisri N wrote:
    Hi All,
    my xml is like below.
    <ns1:abcd>
    <ns2:a>1</ns2:a>
    <ns2:b>2</ns2:b>
    </ns1:abcd>
    If i try retrieving the value of the root element of this xml document,
    Node myroot=doc.getDocumentElement();
    String result=myroot.getNodeName();
    My output is ns1:abcd .. i want only "abcd"...
    The parser is returning the correct rootNodeName i.e ns1:abcd. rootNodeName always goes with the given input and returns the root element as is.
    >
    My xml will not always have same namespaces.. from the incoming xml i should first check, for the namespaces..Please give me some idea.
    I guess.. I need some namespace evaluation to be set..
    Refer below link it'll give idea of identifying XML-NAMESPACE-PREFIX
    http://java.sun.com/developer/Books/xmljava/ch03.pdf
    http://download.oracle.com/javaee/1.4/tutorial/doc/JAXPSAX9.html
    Please help me in this regard.
    Thanks,
    Sabarisri. N

  • Import manager

    hi experts,
    i am a starter of MDM and have a basic doubt in import manager.
    in the documents i study, it is given as primary table, secondary table, source table, and destination table. i am really getting a little confused with the significances of the same.
    if we need to compare the data of two applications, do we need to import two files of XML schema? if i do so, do i need to save that in two different repositories?
    i request you to pls clarify my doubt. it would be really helpful for me...
    thanks in advance
    regards
    pavan

    Hi Pavan ,
    If you have two diff systems with same fields , then you have to create 1 extra field for system id to diffrentiate between 2 applications data . Data from both the systems can be loaded into same repository and same tables .
    ex . you have two files with fields A,B;C;D;E  . then you create 1 extra filed sysID . so your main table will look like SysID,A;B;C;D;E  .
    I will come back to you for primary table, secondary table, source table, destination table..tell me your messanger to ping you .
    hope this helps a little ,
    - An

  • Import failed. Unhandled Exception in Import Manager

    I'm just starting with MDM (5.5 SP1) and have created my first Import but keep getting an "Import failed. Unhandled Exception. RC: 0x82030100" when I Execute Import. I'm not sure where to look to determine the cause. Any suggstions?

    Hi Russell,
    On your C drive, under Program Files>SAP MDME 5.5>Import Manager is the first place to start- Import manager log is an XML document created, and shows the steps import manager went through before it failed.  It could give some ideas about the cause.  Other than that, I have seen that not setting key mapping accurately can cause this exception.
    Good luck!

Maybe you are looking for

  • I have a samsung smart tv i want to play my pogo but will not update for me

    i have a samsung smart tv and want to play my pogo but it will not updat for me what do i do

  • Global phone plan

    I'm studying abroad in London and I have a blackberry storm 2 9550. I took the verizon SIM card out of my phone and got a pay as you go SIM from vodafone. The service is terrible and even though I pay for blackberry services, I'm unable to use any of

  • Help With Sample Editor...

    I'm trying to play an audio file at a slower tempo (to study something) while not changing the pitch. I double clicked the file in the arrange window, and highlighted a section of it in the Sample Editor. The options in the Digital Factory are all st

  • Epson

    How long will it be before Epson and Apple provide new drivers for older Epson equipment? I have an Epson all in one Stylus DX4200 and cannot print, scan or copy thanks to Yosemite problems.

  • Using 17" w/ ACD and as a Desktop replacement

    I had a few questions regarding the new MBP17" I recently was working on a 15" MBP Unibody and it was one of hte bestnotebookes i;ve used in quite sometime, seemed muhc more robust and solid than the previous gen mbp. I currently have a 1st gen MacPr