users@jax-rpc.java.net

Problems integrating with VB

From: Graham Lea <Grahaml_at_forge.com.au>
Date: Fri, 12 Mar 2004 10:26:35 +1100

Hi all.

I'm trying to access my Java Web Service through Visual Basic.
It can work when I use simple types, but if I return a two-dimensional
array, VB tells me "Array dimensions do not match definition" - which is
not true, because it works with Java to Java.

One thing I'm wondering is whether VB doesn't like the intermediate
types in use - i.e. there is ArrayOfstring and ArrayOfArrayOfstring.
I wonder if VB might only deal with multi-dimensional arrays if both
dimension are defined in the one type. i.e. :

    <complexType name="*TwoDimensional*ArrayOfstring">
       <complexContent>
          <restriction base="soap-enc:Array">
             <attribute ref="soap-enc:arrayType"
    wsdl:arrayType="string*[][]*" />
          </restriction>
       </complexContent>
    </complexType>

Is this possible, or is it incorrect WSDL?

Thanks,

Graham.

-- 
Graham Lea
Software Engineer
Forge Research Pty Ltd
Suite G11, Bay 9, Locomotive Workshop
Australian Technology Park, Cornwallis Street
Eveleigh NSW 1430 Australia
Phone: +61 2 9209 4152   Fax: +61 2 9209 4172
www.forge.com.au
----------------------------------------------------------------------
This message contains privileged and confidential information intended
only for the use of the addressee named above.  If you are not the
intended recipient of this message you must not disseminate, copy or
take any action in reliance on it.  If you have received this message
in error please notify the sender immediately.  Any views expressed in
this message are those of the individual sender, except where the
sender specifically states them to be the views of another (including
a Body Corporate).
----------------------------------------------------------------------