cancel
Showing results for 
Search instead for 
Did you mean: 

Send JDBC Data with Java Proxy

Former Member
0 Kudos
51

Hello,

I Have generated a Java Proxy. And the Data Source is a JDBC Table like:

-


VALUE01--VALUE02--VALUE03

ROW1-Test1----Test1----Test1

ROW2-Test2----Test2----Test2

Now i can set the Datatypes in XI Proxy with

TYPE.setVALUE01("Test1");

TYPE.setVALUE02("Test1");

TYPE.setVALUE03("Test1");

so i can send a XML like

<TYPE>

<VALUE01>Test</VALUE01>

<VALUE02>Test</VALUE02>

<VALUE03>Test</VALUE03>

</TYPE>

My Problem is to send a XML Data like

<TYPE>

<VALUE01>Test1</VALUE01>

<VALUE02>Test1</VALUE02>

<VALUE03>Test1</VALUE03>

</TYPE>

<TYPE>

<VALUE01>Test2</VALUE01>

<VALUE02>Test2</VALUE02>

<VALUE03>Test2</VALUE03>

</TYPE>

How can is send more than one item throw XI Proxi?

Any Idea or Documentation?

Regards,

Robin

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Robin,

Hope these links provide good help

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/java proxies and sap xi - the inside story, part 1.pdf

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/java proxies and sap xi - the inside story, part ii.pdf

Regards

Vishnu

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Robin,

Check out the weblog by rashmi-

/people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy

Regards,

Divya

Former Member
0 Kudos

Thx all..

The Solution is to use a Type List like:

.....

root.Type_List list = new root.Type_List();

while (rs2.next()) {
	TypItem itmtyp = new TD001ITM_Type();
						
        itmtyp.setValue01("Test1");
        itmtyp.setValue01("Test2");
        itmtyp.setValue01("Test3");
	list.addType(itmtyp);
}

Regards,

Robin