views:

30

answers:

0

I have 2 table.

Table A has ID (int, auto_increase), Name (Varchar), City_ForeignKey (Int, Reference to ID from table B)

Table B ID (int, auto increase) Name City (Varchar)

than i make Web Service from table A & B and success. When i make a client, i parse the Web Service XML from table A,it's problem to City_ForeignKey, when i want to take a value from City_ForeignKey it's become "?", but the other is OK.

When i look the XML file the value become url.

ID 1 /ID

NAME YEAH /NAME

City_ForeignKey http://Localhost:8080/etc/etc/ /City_ForeignKey

What must i do to take value from ? because i can't take that value, when i System.out.println that it only show ? (question mark)

I using java, glassfish V2.0,DOM parser. SORRY i have bad english, i hope u understand what i mean. >.<

thx