Hi Sebastien -

Java/.NET collection types are not interoperable.  convert the generic container type 
down to two arrays that are properties of a single concrete object.   A benefit of 
this approach is that one can strong-type the key and value object.

For example,

class myContainer {
String[] key;
String[] value;
};


/Chris

---------- Original Message ----------------------------------
From: Sébastien Blanchard <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date:  Wed, 21 Apr 2004 11:25:28 +0200

>Hi all,
>
>I tried to make a WS with Axis on a JBoss Application Server,
>this WS works with complex types (HashMap) :
>
>HashTable test() {
>       HashTable test = new HashTable();
>       test.put("1", "one");
>       return (test);
>}
>
>I made a reference in Visual Studio 2003 to the WSDL of this WS
>but .NET didn't understand the HashTable Type.
>I tried to make my own type and to compile WSDL with it, and .NET
>retrieve only NULL values in type class attributes.
>
>Does anyone have an idea ?
>
>Best regards
>
>S.BLANCHARD
>Directeur Technique
>Alpha System
>4 Villa Carnot
>94160 St Mandé
>France
>Tel : +33 1 53 66 17 44
>Fax : +33 1 43 74 00 14
>mail : [EMAIL PROTECTED]
>
>

Reply via email to