You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by sam sam <sa...@yahoo.com> on 2007/01/08 14:41:08 UTC

consuming a .Net Dataset webservice

Hi,
I have a .Net Webservice function that is returning a dataset, how can I read the dataset in my java program?
I have run the wsdl2java and it generated ShowSuppliersResponseShowSuppliersResult.java for my suppliers.asmx file and my Show suppliers function.
How can I read the dataset?

thx.
sam.



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: consuming a .Net Dataset webservice

Posted by Mark Lin <ma...@iupload.com>.
Probably it's better for your web service to return a collection of c#
objects, each of which stores a row of data from your dataset.  The reason
is that your java client might not get a corresponding resultset from your
c# web service. I might be wrong.

Mark


On 1/8/07, sam sam <sa...@yahoo.com> wrote:
>
> Hi,
> I have a .Net Webservice function that is returning a dataset, how can I
> read the dataset in my java program?
> I have run the wsdl2java and it generated
> ShowSuppliersResponseShowSuppliersResult.java for my suppliers.asmx file
> and my Show suppliers function.
> How can I read the dataset?
>
> thx.
> sam.
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>