Hi,
What's your problem with the dataset? I checked c# dataset and it is
different from traditional ado recordset and it is purely a collection of
data, disconnected from any datasource, such as a db table, or an xml file.
I guess the c# dataset might be mapped to a kind of java collection, such as
arraylist or whatever. You can find the corresponding java collection in
your java stub class that is generated from the C#  webservice.

Mark


On 1/9/07, sam sam <[EMAIL PROTECTED]> wrote:

 Hi,
The problem is that I am writing an application that connects to an
existing web service that I cannot control, I do not have access to the code
and I cannot change it.
My java program has to communicate with the .Net web service as is.

thx.
sam.

----- Original Message ----
From: Mark Lin <[EMAIL PROTECTED]>
To: [email protected]
Sent: Monday, January 8, 2007 3:58:22 PM
Subject: Re: consuming a .Net Dataset webservice

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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



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

Reply via email to