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:
MyObject
I want to use this:
Dim xRoot As XmlElement
Dim ws As New myWebService
xRoot = ws.GetContractsByMyArgument(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 MyObject 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.
Thanks a lot.




Reply With Quote