Author: tutus | Posted on: 7/30/2008 12:23:17 PM | Views : 322

Hi I wanna consume a web service that returns this kind of data:

The web method returns an array of another array of let's say: MyResponse

I want to use the code bellow to get the xml results:

Dim xRoot As XmlElement
Dim ws As New myWebService
xRoot = ws.GetCtrByCtrNumber(MyArgument) Dim nt As New NameTable
Dim nsmgr As New XmlNamespaceManager(nt)

But the probelem is that I can't even compile:

I get is this in the VS 2005:

Value of 1-dimensionnal array of 1-dimensional array of MyResponse can not be converted to xmlelement.

So I am not sure how I can fill the xroot variable from the returned value of the web method.


To give you an idea about how the web service I am using is constructed:


After I add the web service reference to my project, when I inspect the classes and&n ...

Go to the complete details ...