User login

Array of String - possible as param and result?

Forums :

Hi,

We are trying to move an old web service written for axis1 to a new architecture. After studying the various options, we decided to use data web service. Our first tests are very encouraging. We took the old methods, did some adaptations to make them stroed procedures (in H2 database) and voilà. It works pretty well for the simplest one: one String param and one String result.

But we did not do so well for other methods... Some have String arrays as parameters and some return String arrays. Is it possible to do that (to pass String[] param and return that kind of data) with a web data service?

Is it possible to return a simple String and not a resultset? I work around this difficulty by putting the result from the stored proc in a resultset but it could be better to simply return a String...

So what would be the equivalent of the following for a simple string return:

Thanks for your help.

Patrice