Yes. If you establish your complex datatypes (the row from your ResultSet) as a JavaBean (with getters and setters), then Axis will use it's generic Bean serialization/deserialization routines to build the SOAP/XML.
When you use the wsdl.exe tool in .NET (or however it's obfuscated in Studio .NET), you'll get C# (or VB.NET) classes that represent your JavaBeans on the client side. Then you .NET code looks like
MyService service = new MyService();
MyComplexInputDataType input = new MyComplexInputDataType();
// input.attr = value;
MyComplexOutputDataType output = service.myWebServiceMethod(input);
--- bhw
-----Original Message-----
From: Mattia dongili [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 07, 2002 9:55 AM
To: [EMAIL PROTECTED]
Subject: RE: ResultSet arguments
I think they said to represent a row of your resultset as a Bean (a map
between columns and bean members):
public class MyRow {
int id;
String name;
String pippo;
String pluto;
/*
...
setters and getters for all members
...
*/
}
and your service should return an array of those beans. In this way you can
represent a resultset and passing to a .NET client with a little effort in
java coding.
Mattia
> -----Original Message-----
> From: Paolo Paganotto [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 07, 2002 3:46 PM
> To: [EMAIL PROTECTED]
> Subject: Re: ResultSet arguments
>
>
> Thank you very much, Mahindra and Bill Grubbs.
> So, do you mean, for example, to create an array of strings
> for each datarow
> of the ResultSet and to put all of them in an array
> (obtaining a double
> dimensional array)? Is it possible, then? Is it automatically
> serializable
> or do I have to specify a beanmapping, instead?
>
> ----- Original Message -----
> From: "Mahindra" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, November 07, 2002 3:17 PM
> Subject: RE: ResultSet arguments
>
>
> > Hi,
> > Just a suggestion
> > Why don't u get the data from resultset set it into bean and
> > pass across the bean to .NET client.Bean is represented as a complex
> > type which .NET client would recognize .
> >
> > -----Original Message-----
> > From: Paolo Paganotto [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, November 07, 2002 7:25 PM
> > To: AXIS
> > Subject: ResultSet arguments
> >
> >
> > Hallo,
> > I need to send a ResultSet argument (obtained by a sql query) from a
> > Java server running AXIS to a C# .NET client. I know that not every
> > object can be serialized and so I would like to ask if is
> it possible to
> > send it as it is or if it is necessary to transform it in
> something else
> > before sending, or what else. Has somebody done something similar?
> >
> > Your help would be very appreciated.
> >
> > best regards,
> > Paolo Paganotto
> >
> >
> >
> >
> >
>
>
