Hi,
OMElement  is available in axis2, correct?
I am downloading the file now. There should be samples for OMElement, correct?

thx.
sam.

----- Original Message ----
From: Anne Thomas Manes <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, January 9, 2007 3:37:11 PM
Subject: Re: consuming a .Net Dataset webservice

Microsoft's Dataset  maps to a proprietary XML type that is the bane
of those trying to achieve cross-platform interoperability. The
dataset includes an embedded schema that describes the contents of the
rows, and you're only option is to parse the schema at runtime.

You must receive the message result as an OMElement and process the
XML programmatically. Alternatively, you could implement an
intermediary using .NET and convert the message into an array.

Anne


On 1/9/07, Mark Lin <[EMAIL PROTECTED]> wrote:
> 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
>
>

---------------------------------------------------------------------
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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to