Sorry, but I made a test with a typed Array and it doesn't work too. Perhaps you can send me an example that works. The Data in the array is serialized wtih BeanSerializer, I read there can be problems too?
-----Original Message----- From: blake biesecker [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 20. Juni 2002 18:57 To: '[EMAIL PROTECTED]' Subject: RE: How to deserialize java.util.Vector in .NET?? Yes, they need to be fixed length per call, but you don't need to define the length in the WSDL. We do things like: MyClass[] getInfo(); instead of: Vector getInfo(); or Collection getInfo(); Once the client gets the SOAP packet, it can do whatever it wants with the XML. With .NET, my experience is it will convert to the XML to the expected typed array with no problem. If you need a vector on the client, you can convert the C# array. Not sure if this works for you, but if you search this list, I think you'll find known problems with Vectors and .NET. I like the arrays because they work and you can see from the WSDL what will be in the collection. Blake > -----Original Message----- > From: Christian Schmitz [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 20, 2002 9:47 AM > To: '[EMAIL PROTECTED]' > Subject: RE: How to deserialize java.util.Vector in .NET?? > > > Hi Blake, > > thank you for your answer. > But I think typed arrays must have a fix length and the > Client must know > this length. Isn't it so? > The can have a variable number of objects, this is why I want > to use it. > > Christian > > -----Original Message----- > From: blake biesecker [mailto:[EMAIL PROTECTED]] > Sent: Donnerstag, 20. Juni 2002 18:45 > To: '[EMAIL PROTECTED]' > Subject: RE: How to deserialize java.util.Vector in .NET?? > > Christian, > > I've found you get better results if you can use a typed > array instead of a Vector. > > Blake > > > -----Original Message----- > > From: Christian Schmitz [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, June 20, 2002 9:26 AM > > To: '[EMAIL PROTECTED]' > > Subject: How to deserialize java.util.Vector in .NET?? > > > > > > Hi, > > > > I want to publish Web Services with AXIS and consume them with .NET > > C#-Client. > > My Service sends a java.util.Vector, but I can't deserialize > > it in .NET > > > > Please help me, > > Thanks > > Christian > > >