best solution as far as i know is to use typed arrays.
Axis can serialize them to XML and .NET can read them.
 
e.g.
 
    public Dashboard[] getDashboards() {
        Collection result = new ArrayList();
        result.add( new Dashboard("personal") );
        return (Dashboard[]) result.toArray();
    }
Stephan
 
-----Original Message-----
From: Vishal Batra [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 29, 2002 2:11 PM
To: [EMAIL PROTECTED]
Subject: Solving .NET desrialization problem by simple soap arrays

We are exposing our Java application as a web service using AXIS on Tomcat and trying to access it thru GUI build in .NET but are getting problems in deserialization of Collection classes.
 
Would I be going in wrong direction in trying to solve this problem by creating custom serializers/deserializers for Java Collection classes and changing the output to SOAP Body to simple Soap arrays.
 
Thank you,
 
Vishal

Reply via email to