Skip to Content
author's profile photo Former Member
Former Member

File to JDBC

Hi,

I had configured XI successfullly to send EMPLOYEE data from File(EMPLOYEE.XML) to JDBC. But I can send only the first row not all the rows from XML to JDBC. Is there any way to configure to send all teh rows from XML to JDBC.

regards

Anand.M

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Oct 16, 2005 at 12:52 PM

    Hi Ananda,

    plz use one access element for every row.

    Regards,

    Udo

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2005 at 01:13 PM

    Hi,

    I used the access element. The first row it is copying not the second one

    regards

    Anand.M

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2005 at 02:58 PM

    Hi

    here is my XML

    <?xml version="1.0" encoding="UTF-8"?>

    http://xidemo.com/datasender">

    <row>

    <EMPID>20016</EMPID>

    <NAME>PRASAD</NAME>

    <AGE>39</AGE>

    </row>

    <row>

    <EMPID>20017</EMPID>

    <NAME>RAMESH</NAME>

    <AGE>39</AGE>

    </row>

    </ns:MT_FILE_SENDER>

    regards

    Anand.M

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2005 at 03:02 PM

    Hi,

    Here is the JDBC XML

    <?xml version="1.0" encoding="UTF-8"?>

    http://xidemo.com/datareceiver" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns=" http://xidemo.com/datareceiver">

    <xsd:element name="MT_DB_RECEIVER" type="DT_DB_VENDOR" />

    <xsd:complexType name="DT_DB_VENDOR">

    <xsd:annotation>

    d49556703e5511daa7dc00300530002ehttp:// d49556703e5511daa7dc00300530002e" target="_blank">sap.com/xi/TextID">d49556703e5511daa7dc00300530002e>

    </xsd:annotation>

    <xsd:sequence>

    <xsd:element name="STATEMENT">

    <xsd:annotation>

    b57372e03e3211dabde4ebc60a15ca63http:// b57372e03e3211dabde4ebc60a15ca63" target="_blank">sap.com/xi/TextID">b57372e03e3211dabde4ebc60a15ca63>

    </xsd:annotation>

    <xsd:complexType>

    <xsd:sequence>

    <xsd:element name="EMPLOYEE">

    <xsd:annotation>

    b57372e13e3211da8e06ebc60a15ca63http:// b57372e13e3211da8e06ebc60a15ca63" target="_blank">sap.com/xi/TextID">b57372e13e3211da8e06ebc60a15ca63>

    </xsd:annotation>

    <xsd:complexType>

    <xsd:sequence>

    <xsd:element name="access">

    <xsd:annotation>

    d17518903e3211dac44febc60a15ca63http:// d17518903e3211dac44febc60a15ca63" target="_blank">sap.com/xi/TextID">d17518903e3211dac44febc60a15ca63>

    </xsd:annotation>

    <xsd:complexType>

    <xsd:sequence>

    <xsd:element name="EMPID" type="xsd:string">

    <xsd:annotation>

    d17518913e3211da804debc60a15ca63http:// d17518913e3211da804debc60a15ca63" target="_blank">sap.com/xi/TextID">d17518913e3211da804debc60a15ca63>

    </xsd:annotation>

    </xsd:element>

    <xsd:element name="NAME" type="xsd:string">

    <xsd:annotation>

    d17518923e3211daca94ebc60a15ca63http:// d17518923e3211daca94ebc60a15ca63" target="_blank">sap.com/xi/TextID">d17518923e3211daca94ebc60a15ca63>

    <xsd:documentation xml:lang="EN">E</xsd:documentation>

    </xsd:annotation>

    </xsd:element>

    <xsd:element name="AGE" type="xsd:integer">

    <xsd:annotation>

    d17518933e3211dab732ebc60a15ca63http:// d17518933e3211dab732ebc60a15ca63" target="_blank">sap.com/xi/TextID">d17518933e3211dab732ebc60a15ca63>

    </xsd:annotation>

    </xsd:element>

    </xsd:sequence>

    </xsd:complexType>

    </xsd:element>

    </xsd:sequence>

    <xsd:attribute name="action" type="xsd:string">

    <xsd:annotation>

    b57372e23e3211da94dcebc60a15ca63http:// b57372e23e3211da94dcebc60a15ca63" target="_blank">sap.com/xi/TextID">b57372e23e3211da94dcebc60a15ca63>

    </xsd:annotation>

    </xsd:attribute>

    </xsd:complexType>

    </xsd:element>

    </xsd:sequence>

    </xsd:complexType>

    </xsd:element>

    </xsd:sequence>

    </xsd:complexType>

    </xsd:schema>

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.