Problem solve Get help with specific problems with your technologies, process and projects.

Returning a dataset or query result in a single call

I'm deploying a set of Web services and want to be able to return a dataset or query result in a single call. Is the querybean widely accepted enough to publish with or do I need to look at an array of structures/maps?
I suggest that you define your own array of structures (not maps) rather than using a querybean. Doing a search on querybean, I find a number of different implementations -- and not all of them are the same. And I'm pretty sure that a VB application would have trouble consuming one unless you map it to the XML container Microsoft supplies to contain a .NET DataSet. But then most Java platforms would have trouble consuming it.

In general, you should try to avoid exposing any language-specific object collection through a Web service interface.

Dig Deeper on Topics Archive

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.