aspose file tools*
The moose likes Web Services and the fly likes Returning Values from a Web Service and How to handle them Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Returning Values from a Web Service and How to handle them " Watch "Returning Values from a Web Service and How to handle them " New topic
Author

Returning Values from a Web Service and How to handle them

Varun Nambuthiri
Ranch Hand

Joined: Sep 20, 2010
Posts: 76
Hi,

I am supposed to be displaying certain data from the DB which is returned by the Web Service . Till now for testing purposes I was just sending the results as String , But now I need to return values to the Client from the Web Service and I also need to know how to handle them when the values are got in the client side .

Ex : I have a web Service which is supposed to return these Fields ( all String)

1.First Name
2.Last Name
3.City
4.User Type .. so on and so forth

Now in the web service I am retrieving them using a simple SELECT Statement and then using ResultSetObject.getString() . So what do I do If i have to send the ResultSet data onto the client side and display it there ?

Thanks and Regards
Varun


All's well that Debugs well .
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Returning Values from a Web Service and How to handle them