Hi,
I have created a schema to describe a database table. In my webservice, I have to read data from a database table and convert that into a XML
string and return to the caller.
Now, I am able to do all of above things but the only problem is I am sending the last row of the table only. I know some thing wrong with my schema and that is why its not able to hold all the rows.
This is how I created initial schema which was supporting a single row in the table.
Here element "sites" represent the DB table name.
But now I know I have to add one more element after "sites" to have loop kind of representation so I added "row" as new element but I am getting parsing errors when I am trying to generate my
Java classes using "xjc". I tried but not able to fix this.
here is my new schema which I want to represent a DB table "sites" with multiple "row"s. can any one help me with this?
I know this should be a simple fix for you guys. appreciate your help.
Thanks,
Ugender
[ June 18, 2007: Message edited by: Ugender Rekulampally ]
[ June 18, 2007: Message edited by: Ugender Rekulampally ]