Source XML File Issue....

Hi All,
I am importing a source xml file using import manager.But the Number of root nodes changes in the source file changes when i import a xml file with only 1 record and multiple record.So I am unable to maintain a same map for the same xml file with different records.I guess something is wrong in my xml structure.
This is my source xml file:
  >><?xml version="1.0" encoding="utf-8" ?>
  >><ns1:MT_MDM_003_Shipping xmlns:ns1="urn:HaworthInc-com:Customer_Master">
  >><Record>
  >><Sales_Organization>1001</Sales_Organization>
  >><Distribution_Channel>00</Distribution_Channel>
  >></Record>
  >><Record>
  >><Sales_Organization>1001</Sales_Organization>
  >><Distribution_Channel>00</Distribution_Channel>
  >></Record>
  >></ns1:MT_MDM_003_Shipping>
If i use the above file in the import manager I am seeing the Source dropdown (Source Hierarchy) where we select the source file as
>>None
>>ns1:MT_MDM_003_Shipping
>>Records
If i use the same import file with just 1 record  as follows
>><?xml version="1.0" encoding="utf-8" ?>
  >><ns1:MT_MDM_003_Shipping xmlns:ns1="urn:HaworthInc-com:Customer_Master">
  >><Record>
  >><Sales_Organization>1001</Sales_Organization>
  >><Distribution_Channel>00</Distribution_Channel>
  >></Record>
  >></ns1:MT_MDM_003_Shipping>
If i use the above file in the import manager Now I am seeing the Source dropdown (Source Hierarchy) where we select the source file as only.Records is missing
>>None
>>ns1:MT_MDM_003_Shipping
>>Records (This is missing now)
Since I am missing the Records I have to create the different map for the same file.
Is there anything missing in the XML???Or the XML structure is wrong????
Any Help greatly appreciated.

Thanks for the reply,
I am running into this error now,when I use schema gainst the xml file...
Logon Error: Cannot load xml file
Error:
COM error 80004005 Unspecified error
source = msxml4.dll Description = file:///c:/.........
The "namespace provided differs from the schema's 'urn:Test-com:Customer_Master' targetNamespace
XML File:
<?xml version="1.0" encoding="UTF-8" ?>
<ns0:Import_File_Format_008_Correspondence xmlns:ns0="urn:Test-com:Customer_Master">
<Record>
  <Customer_Nr>ZTEST001</Customer_Nr>
  <Company_Code>1001</Company_Code>
  <Acctg_clerk>03</Acctg_clerk>
  <Bank_statement>1</Bank_statement>
  <Acct_at_cust>ZZZZ1234</Acct_at_cust>
  <Decentralized_processing>x</Decentralized_processing>
  <Coll_Invoice_variant>z</Coll_Invoice_variant>
  <Customer_user>ZCUST USER</Customer_user>
  <Actclk_telno>CLERK TEL NR</Actclk_telno>
  <Clerks_fax>12345678</Clerks_fax>
  <Clerks_internet>clerk internet</Clerks_internet>
  <Account_memo>account memo</Account_memo>
  <Dunn_Procedure>1000</Dunn_Procedure>
  <Dunning_block>A</Dunning_block>
  <Dunnrecipient>CP3016</Dunnrecipient>
  <Legdunnproc>04/22/2008</Legdunnproc>
  <Last_dunned>04/21/2008</Last_dunned>
  <Dunning_level />
  <Dunning_clerk>06</Dunning_clerk>
  </Record>
  </ns0:Import_File_Format_008_Correspondence>
XSD File:
  <?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns="urn:Test-com:Customer_Master" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:Test-com:Customer_Master">
  <xsd:element name="MT_MDM_008_Correspondence" type="DT_MDM_008_Correspondence" />
<xsd:complexType name="DT_MDM_008_Correspondence">
<xsd:annotation>
  <xsd:appinfo source="http://sap.com/xi/TextID">51f4f670330e11ddabec00112539c3ab</xsd:appinfo>
  </xsd:annotation>
<xsd:sequence>
<xsd:element name="Record" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
  <xsd:appinfo source="http://sap.com/xi/TextID">bcb36bb01c4111ddabe302004c4f4f50</xsd:appinfo>
  </xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Customer_Nr" type="xsd:string">
<xsd:annotation>
  <xsd:appinfo source="http://sap.com/xi/TextID">bcb36bb11c4111ddccfa02004c4f4f50</xsd:appinfo>
  </xsd:annotation>
  </xsd:element>
<xsd:element name="Company_Code" type="xsd:string" minOccurs="0">
<xsd:annotation>
  <xsd:appinfo source="http://sap.com/xi/TextID">bcb36bb21c4111dd818902004c4f4f50</xsd:appinfo>
  </xsd:annotation>
  </xsd:element>
<xsd:element name="Acctg_clerk" type="xsd:string" minOccurs="0">
<xsd:annotation>
  <xsd:appinfo source="http://sap.com/xi/TextID">bcb36bb31c4111dda34102004c4f4f50</xsd:appinfo>
  </xsd:annotation>
  </xsd:element>
<xsd:element name="Bank_statement" type="xsd:string" minOccurs="0">
<xsd:annotation>
  <xsd:appinfo source="http://sap.com/xi/TextID">bcb36bb41c4111dda01702004c4f4f50</xsd:appinfo>
  </xsd:annotation>
  </xsd:element>
<xsd:element name="Acct_at_cust" type="xsd:string" minOccurs="0">
<xsd:annotation>
  <xsd:appinfo source="http://sap.com/xi/TextID">bcb36bb51c4111dd817202004c4f4f50</xsd:appinfo>
  </xsd:annotation>
  </xsd:element>
<xsd:element name="Decentralized_processing" type="xsd:string" minOccurs="0">
<xsd:annotation>
  <xsd:appinfo source="http://sap.com/xi/TextID">bcb36bb61c4111ddb52602004c4f4f50</xsd:appinfo>
  </xsd:annotation>
  </xsd:element>
<xsd:element name="Coll_Invoice_variant" type="xsd:string" minOccurs="0">
<xsd:annotation>
  <xsd:appinfo source="http://sap.com/xi/TextID">bcb36bb71c4111ddca1902004c4f4f50</xsd:appinfo>
  </xsd:annotation>
  </xsd:element>
<xsd:element name="Customer_user" type="xsd:string" minOccurs="0">
<xsd:annotation>
  <xsd:appinfo source="http://sap.com/xi/TextID">bcb36bb81c4111ddb7a302004c4f4f50</xsd:appinfo>
  </xsd:annotation>
  </xsd:element>
<xsd:element name="Actclk_telno" type="xsd:string" minOccurs="0">
<xsd:annotation>
  <xsd:appinfo source="http://sap.com/xi/TextID">bcb36bb91c4111ddca3502004c4f4f50</xsd:appinfo>
  </xsd:annotation>
  </xsd:element>
<xsd:element name="Clerks_fax" type="xsd:string" minOccurs="0">
<xsd:annotation>
  <xsd:appinfo source="http://sap.com/xi/TextID">bcb36bba1c4111ddaad102004c4f4f50</xsd:appinfo>
  </xsd:annotation>
  </xsd:element>
<xsd:element name="Clerks_internet" type="xsd:string" minOccurs="0">
<xsd:annotation>
  <xsd:appinfo source="http://sap.com/xi/TextID">bcb36bbb1c4111dd956902004c4f4f50</xsd:appinfo>
  </xsd:annotation>
  </xsd:element>
<xsd:element name="Account_memo" type="xsd:string" minOccurs="0">
<xsd:annotation>
  <xsd:appinfo source="http://sap.com/xi/TextID">bcb36bbc1c4111ddb20902004c4f4f50</xsd:appinfo>
  </xsd:annotation>
  </xsd:element>
<xsd:element name="Dunn_Procedure" type="xsd:string" minOccurs="0">
<xsd:annotation>
  <xsd:appinfo source="http://sap.com/xi/TextID">bcb36bbd1c4111dd87e302004c4f4f50</xsd:appinfo>
  </xsd:annotation>
  </xsd:element>
<xsd:element name="Dunning_block" type="xsd:string" minOccurs="0">
<xsd:annotation>
  <xsd:appinfo source="http://sap.com/xi/TextID">bcb36bbe1c4111dd9aaa02004c4f4f50</xsd:appinfo>
  </xsd:annotation>
  </xsd:element>
<xsd:element name="Dunnrecipient" type="xsd:string" minOccurs="0">
<xsd:annotation>
  <xsd:appinfo source="http://sap.com/xi/TextID">bcb36bbf1c4111dda84302004c4f4f50</xsd:appinfo>
  </xsd:annotation>
  </xsd:element>
<xsd:element name="Legdunnproc" type="xsd:string" minOccurs="0">
<xsd:annotation>
  <xsd:appinfo source="http://sap.com/xi/TextID">bcb36bc01c4111ddae5402004c4f4f50</xsd:appinfo>
  </xsd:annotation>
  </xsd:element>
<xsd:element name="Last_dunned" type="xsd:string" minOccurs="0">
<xsd:annotation>
  <xsd:appinfo source="http://sap.com/xi/TextID">bcb36bc11c4111dd82e802004c4f4f50</xsd:appinfo>
  </xsd:annotation>
  </xsd:element>
<xsd:element name="Dunning_level" type="xsd:string" minOccurs="0">
<xsd:annotation>
  <xsd:appinfo source="http://sap.com/xi/TextID">bcb36bc21c4111ddc26a02004c4f4f50</xsd:appinfo>
  </xsd:annotation>
  </xsd:element>
<xsd:element name="Dunning_clerk" type="xsd:string" minOccurs="0">
<xsd:annotation>
  <xsd:appinfo source="http://sap.com/xi/TextID">bcb36bc31c4111ddce7f02004c4f4f50</xsd:appinfo>
  </xsd:annotation>
  </xsd:element>
  </xsd:sequence>
  </xsd:complexType>
  </xsd:element>
  </xsd:sequence>
  </xsd:complexType>
  </xsd:schema>

Similar Messages

  • Problems with OC4J EJB deployment and the data-sources.xml file

    I am running 2 Windows 2000 Machines one with the 8.1.7 database another with iAS 1.0.2.2.1 and OC4J.
    I am trying to deploy a 3rd party EJB-based application whic seems to have deployed successfully except when I try to test the EJB deployment via a jsp it can't connect to the database, giving the error:
    1/16/02 4:52 PM VerySimple: Servlet error
    java.lang.NoClassDefFoundError: com.netexp.user.UserManagerHome
    at com.netexp.beans.BeanHelper.class$(Unknown Source)
    at com.netexp.beans.BeanHelper.getUserManagerBean(Unknown Source)
    at /very_simple.jsp._jspService(/very_simple.jsp.java:48) (JSP page line 27)
    at com.orionserver[Oracle9iAS (1.0.2.2.1) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:54)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpApplication.serviceJSP(HttpApplication.java:5459)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.JSPServlet.service(JSPServlet.java:31)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:508)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:177)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:576)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:62)
    I try to update the file using the installdatasource switch thus:
    C:\Oracle\iSuites\j2ee\home>java -jar admin.jar ormi://localhost admin adm_pwd -application apptricityII -installDataSource -jar %ORACLE_HOME%\jdbc\lib\classes12.zip -url jdbc:oracle:thin:@db_host.unitas.com:1521:db_name -connectionDriver oracle.jdbc.driver.OracleDriver -location jdbc/pool/OracleDataSource -username scott -password tiger
    And get the following error:
    Exception passing by from remote server: java.lang.InstantiationException: No class specified for jdbc/pool/OracleDataSource
    java.lang.InstantiationException: No class specified for jdbc/pool/OracleDataSource
    <<no stack trace available>>
    Error adding source: No class specified for jdbc/pool/OracleDataSource
    Please advise.
    I have followed the instructions in 'EJB Primer' and 'Using Oracle9iAS Containers for J2EE' to no avail. And I can't find any meaningfull data-sources.xml samples. I have been struggling with this for some time.
    Is there any other file, do I need to bind anything?
    I'd appreciate your assistance.
    Thank you
    Louiza

    Hi Louiza,
    Show us your web.xml and ejb-jar.xml files as well as your
    data-source.xml file.
    Thanks,
    Avi.

  • Different data-sources.xml files for each build

    Any thoughts on how to do this:
    I have two sets of data-sources. When I deploy the EAR to my stage box, I need to go to the "stage" data source of the other repositories. When I deploy the EAR to my production box, I need to use the production data sources for the other repositories
    I am using jdev 10.1.3
    There is a single data-sources.xml file - where, currently, I am manually editing the connection strings between deployments.
    I am using ant to build the EAR file.
    What is a more elegant way to do this?

    Use ANT script to build the EAR file.
    Have 2 different data-sources file one for production and one for stage.
    Based on the environment you want to deploy tell ANT to copy those files into the EAR.
    Just a suggestion.

  • Does JDeveloper deploy the data-sources.xml file?

    Hi,
    My project has a data-sources.xml file. When I deployed the project, JDeveloper created a .war file. The data-sources.xml file is not in the .war file. How will the application server pick up the data source if the xml file is not getting deployed?
    Thanks,
    Merced

    data-sources.xml configures the datasource with the oc4j server.
    A <Application>-data-sources.xml file also gets added for a project to the project directory.

  • XML file Issue..

    Hi guys,
    My question is in a real time scenario how the file is asked for ?
    As for testing a simple file scenario we usually get the sample file in XI from Message mapping tool only, this sample file contains primary tag of message type with attribute of namespace  : <b><ns0:MT_FILE_INPUT xmlns:ns0="http://bsptrng.file2file"> </b> "
    <ns0:MT_FILE_INPUT xmlns:ns0="http://bsptrng.file2file">
       <Record>
          <Row>
             <FirstName>q</FirstName>
             <LastName>R</LastName>
             <MiddleName>S</MiddleName>
             <City>Delhi</City>
           </Row>
       </Record>
    </ns0:MT_FILE_INPUT>
    but when a client will provide us a file it will be a simple xml file like...
    <Record>
          <Row>
             <FirstName>q</FirstName>
             <LastName>R</LastName>
             <MiddleName>S</MiddleName>
             <City>Delhi</City>
           </Row>
       </Record>
    As you can see primary tag of Message type with namespace will be missing...
    because of that mapping exception is thrown in pipeline service....
    <b>My question is how to tackle this ...</b>
    Regards,

    Hi
    While creating the message type there will be a tab called "XML Namespace", remove the entry of http://bsptrng.file2file from there.
    regards
    Sam

  • XML file issue real time

    Hi guys,
    My question is in a real time scenario how the file is asked for ?
    As for testing a simple file scenario we usually get the sample file in XI from Message mapping tool only, this sample file contains primary tag of message type with attribute of namespace  : <b><ns0:MT_FILE_INPUT xmlns:ns0="http://bsptrng.file2file"> </b> "
    <ns0:MT_FILE_INPUT xmlns:ns0="http://bsptrng.file2file">
       <Record>
          <Row>
             <FirstName>q</FirstName>
             <LastName>R</LastName>
             <MiddleName>S</MiddleName>
             <City>Dehradun</City>
           </Row>
       </Record>
    </ns0:MT_FILE_INPUT>
    but when a client will provide us a file it will be a simple xml file like...
    <Record>
          <Row>
             <FirstName>q</FirstName>
             <LastName>R</LastName>
             <MiddleName>S</MiddleName>
             <City>Dehradun</City>
           </Row>
       </Record>
    As you can see primary tag of Message type with namespace will be missing...
    because of that mapping exception is thrown in pipeline service....
    <b>My question is how to tackle this ...</b>
    Regards,

    Why you can not create XSD with the client specification?
    Like This:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
         <xs:element name="City">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="Dehradun"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="FirstName">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="q"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="LastName">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="R"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="MiddleName">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="S"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="Record">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="Row" type="RowType"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:complexType name="RowType">
              <xs:sequence>
                   <xs:element ref="FirstName"/>
                   <xs:element ref="LastName"/>
                   <xs:element ref="MiddleName"/>
                   <xs:element ref="City"/>
              </xs:sequence>
         </xs:complexType>
    </xs:schema>
    Regards.
    Message was edited by:
            Iñaki Vila

  • 10.1.3 Migration Issue with data-sources.xml

    Hi:
    Running into lots of migration issues for an application built in 10.1.3 EA, migrating to 10.1.3. production, mostly in the BC project. Here's one: the database connections built in EA were not carried over to prod, so they needed to get re-built. No biggie. But now the data-sources.xml file in the model project has duplicate entries for my data sources. I have tried directly editting that file and removing the duplicates, but when I go to run my application (ADF Faces & ADF BC) JDeveloper hangs. When I abort JDev and re-start it, the duplicate entries are back in data-sources.xml (and yes, I did save the file after making the changes). It seems that the xml file is built dynamically from definitions stored elsewhere. Where is the source? What will I need to modify to get the changes to take?
    Thanks.
    Johnny Lee

    There is new control over when/whether JDeveloper add/updates your data-sources.xml file for the embedded server. The settings are located here:
    Tools | Embedded OC4J Server Preferences | Current Workspace | Data Sources
    There are some settings there that control whether/when we update the data-sources.xml

  • Can DTD schema for a XML file be a data source to the Crystal Reports?

    Hi All,
    We are trying to generate a crystal report having XML file as a source. And we want to use the DTD schema for the source XML file.
    Please suggest whether DTD schema can be used for crystal reports or not.
    Thanks
    Sriram

    Hi Sriram,
    I think it should work.
    1) Use this pdf for your reference
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90faaea7-8e1e-2b10-e6a7-ea82e11d9e8b ]
    2)if in case it does not help you can convert existing DTD to XSD using this online converter
    [http://www.hitsw.com/xml_utilites/]
    and  then use for generating report from XML file.
    Regards,
    Jeetsinh Parmar.

  • TREX Indexing issue. Form based publishing XML files.

    In order to test my TREX indexing functionality, I have created a lot of test XML files (with form based publishing) containg test words.
    What I experiments is that TREX only index the words that is presented on the 'Show' form of the xml document. The template created in the XML Forms Builder that is used to present the document. But thing is, that I only want to index the words from the XML source file, not from the 'Show' form template. Because on that i only have a static label with constant text.
    How do I set TREX to index the source XML file and not the show form template representation of the file?

    Hi Flemming,
    this works as designed. If you want index the whole XML data, you have to store your XMLForms items in a repository on which no "XMLFormsResourceFilter" is defined.
    But if you do that, all the items are rendered as XML and not as HTML. So the SearchResult only gives you links pointing to XML files.
    The only way to index more informations (from my point of view) is to store your additional information into ResourceProperties (you have to design your XMLFormsProject). These properties can be found by the search, if they are set to "indexable=yes".
    Hope this helps
    --Matthias

  • Regarding XML file miss information

    Dear Expert,
    I am facing issue in XML file ,issue details as follows ,
    1) IDOC(outbound) generated successfully with all required information .
    2) In PI, schema used to convert IDOC data to XML , in graphical mapping functions are used to check the condition and convert the data accordingly.
    2) In PI Enterprise Servise builder and integration builder, message mapping for IDOC is correct
    It convert source data to destination data using customize function which convert idoc data into XML file . But here some data are missing for only those fields have customize function are used for conversion.
    3) When XML file generated on FTP server successfully but in that some fields are showing blank data for those fields have used functions.
    Regards,

    2) In PI Enterprise Servise builder and integration builder, message mapping for IDOC is correct
    It convert source data to destination data using customize function which convert idoc data into XML file . But here some data are missing for only those fields have customize function are used for conversion.
    >>
    Points to a mapping issue. troubleshoot your mapping first in ESR and check if there is a proper result.
    in case the results are coming correctly but only when u do and end to end test with the same data the result is different, it should be a cache issue. Try to refresh the cache and try again.

  • Missing data-sources.xml deploying war with jdeveloper 9i RC

    When deploying a war file to an OC4J 1.0.2.2.1 server and error reports during the deployment that data-sources.xml is missing in the application-deployments/xxxx directory. Only the orion-application.xml file is present - which references a data-sources.xml file in the same directory. The problem is : it isn't there.
    When I copy the xml files from the applications/xxxx directory to the application-deployments/xxxx directory and redeploy the war file everything works fine.
    Is this a configuration issue or a bug ? Anyway, can somebody tell me how I can work around this problem ?
    Thanks !

    this is a bug and you have already found the workaround.

  • Data-sources.xml instead of bc4j.xcfg

    Please give me some direction on how I can configure my Application Module to use JNDI lookup of my data-sources.xml file instead of using the bc4j.xcfg file. I know there is a way but I need a step by step process to get this done through configuration while developing in the IDE.

    Can you please tell how did you solve that. I have similar problem
    Kavitha

  • How to fetch XML file thru Sender File adapter

    Dear friends,
    I am having a scenario of fetching an xml file through sender file adapter. When i am testing my mapping in Test mode of message mapping it is working fine but when i fetch the real source xml file which is not having the XML namespace and Source Message type.
    It is throwing error in Runtime.
    At the same time when i edit the source xml file  with the XML NAMESPACE & Source Meessage type it is passing successfully to the target system.
    Kindly tell me friends how to solve this problem.
    Take care,
    Karthik

    Hi Friends,
    My Source XML file:
    <?xml version="1.0" encoding="UTF-8"?>
    <PeopleMsg>
       <Records>
          <Record>
                <FirstName>Dawei</FirstName>
                <LastName>He</LastName>
                <MiddleNameOrInitials>D</MiddleNameOrInitials>
                <IDs>
                    <IDType>
                          <IDTypeName>Employee ID (Country Equivalent)</IDTypeName>
                    </IDType>
                    <IDs>999999999999</IDs>
                </IDs>
           </Record>
       </Records>
    </PeopleMsg>
    My xml file in the Test Tab of Message mapping:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Source_MT xmlns:ns0="http://kpmg.com/ibs/mdm">
    <PeopleMsg>
       <Records>
          <Record>
                <FirstName>Dawei</FirstName>
                <LastName>He</LastName>
                <MiddleNameOrInitials>D</MiddleNameOrInitials>
                <IDs>
                    <IDType>
                          <IDTypeName>Employee ID (Country Equivalent)</IDTypeName>
                    </IDType>
                    <IDs>999999999999</IDs>
                </IDs>
           </Record>
       </Records>
    </PeopleMsg>
    </ns0:Source_MT>

  • Problem - Bursting information in Xml file

    Hello All,
    Can you please guide me How to burst a BIP stand alone version report with all the email(bursting) information coming as XML file source.
    In other words, I've a report with Data model as file source(xml file) and would like to burst it, but the email address is included in the input xml file. Please assist.
    Thanks.

    Well, read first the documentation (assuming it is BIP10g):
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e12187/T518230T518233.htm#4512015
    You will notice you are limited to only SQL query to define your bursting criteria.
    Two things before you can burst sourcing an XML flat file:
    - Bursting criteria is SQL : Your deliver by key from your xml flat file must match the keyid that you will place in the SQL query of your bursting criteria
    - All the emails you need to send to must be placed in records in the same DB you will be querying against for the bursting criteria, i.e each along with the keyid there must be another column email in the table you will be qerying for your bursting.
    In other words you must construct a table in a database which will contain keyid and email at least.
    regards
    Jorge

  • Loading XML file with missing elements dynamically through ODI

    Hi Guys ,
    I have the below xml file with two nodes Employee and Address. On a daily basis , sometimes the address element might not come in from the source xml file , but my interface has columns mapped to address elements, and hence it can fail due to the source element not being found in the file or data might not get loaded due to the 'and' condition in the sql query generated between the employee and address elements.  Is there a way where i can load the data dynamically where i can search in the file only for the elements (Employee) present and load data only for those elements dynamically?
    XML File:
    <?xml version="1.0" encoding="UTF-8" ?>
    <EMP>
    <Empsch>
    <Employee>
    <EmployeeID>12345</EmployeeID>
    <Initials>t</Initials>
    <LastName>john</LastName>
    <FirstName>doe</FirstName>
    </Employee>
    <Address>
    <WorkPhone>12345</WorkPhone>
    <WorkAddress>Test 234</WorkAddress>
    </Address>
    </Empsch>
    </EMP>
    Thanks ,
    Revanth Tambisetty

    I was able to resolve it by using left outer joins and referring the table structure from the XSD

Maybe you are looking for

  • STOCK STATEMENT STORAGE LOCATION WISE

    Dear All, Ca we able to take Stock Value on storage location wise for the particular date. Thank You, Warm Regards Mani.

  • SSRS Subscription LastStatus "Failure sending mail: Failure sending mail."

    SSRS 2012, SQL 2012 SP2.  We have about 50 different daily subscriptions that go out.  In the last month or so, probably over 30% of SSRS subscriptions are getting this error and no e-mail is sent.  I have tested out the reports with the parameters a

  • Dashed line showing up on placed psd in indesign

    Please help! I created flyer in indesign and placed some PSD graphics into the indesign file.  However when those files are placed on top of a "dotted" line-after printed a white "dashed" line appears.  (the line does not appear in digital file at al

  • What is the most appropriate way to do reversal and reconcile the reversed

    Dear All, I am facing a problem to reconcile reversal transaction. The scenario as below: Date 28.04.2008 Company A issue billing to Customer XYZ amount 3,000 MYR Date 30.04.2008 Company A want to reverse the above transaction. Questions: 1.Where is

  • Help with Rock, Paper, Scissors Program

    I need some help with my program, I got understand writing each of the methods I have to do but then i don't understand how to piece it together to make the program work. in the main method...I didn't complete the scrolling message method I just want