mardi 22 août 2017

Return an Object List or Array for Web Service SOAP Java

i got the return for my WS concatenated by pipes in a String but i don't think that's a smart way of doing it.

How can i return an Object that i can identify at the XML on SOAP UI?

Thanks

Code:

String result = "";
ResultList rs = new ResultList();

rs.rsSQL((new StringBuilder("st_..........).append(data);

if (rs.next()) {
        result = rs.getString("response");
}
return result ;




Aucun commentaire:

Enregistrer un commentaire