|    
|
|  |
From: "Houman Moshtagh" Subject: Multidimensional Array Date: Tue, 11 Jun 2002 20:04:35 +0200
| |
Hello All, I have a VB Web Service and use SoapToolKit3.0 Beta to generate the WSDL file. I have big problems with multidimensional Arrays. I have made manually a new complex type for Multidimensional Array (2 dimensional): <complexType name="mArrayOfString"> <complexContent> <restriction base="SOAP-ENC:Array"> <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="string[][]" /> </restriction> </complexContent> </complexType> My Java Client doesn't complain at first. But if I run the program, it gets an ArrayIndexOutofBoundsException. The reason seems to be that the second dimension of the array was not transferred properly. Maybe this is not the right way to define a multidimensional Array. Anyway I have checked it in the Java-debug modus: String[][] sqlResult=String[0][] _______________________________^ The return value is not complete. The second [] should be in my case 10 and NOT nothing. Can someone makes me a favor and send me a WSDL file with a correct multidimensional Array? This could help me to find the error. Thanks a lot, Houman
| | Post a follow up to this message... |
|  |
|