Multi-dimensional arrays are not supported

  • Thread starter Thread starter Fayez Al-Naddaf
  • Start date Start date
F

Fayez Al-Naddaf

I got this message when I tried to browse my web service
"Multi-dimensional arrays are not supported. Use a jagged
array instead"
Can someone told me why?
 
Fayez,

I think that it has to do with the fact that the WSDL returned really
doesn't know what the dimensions on the array are. With the way that XML is
structured, representing jagged arrays is easy (you increase the bounds by
adding more elements), but since you don't know the bounds on a
multi-dimensional array at compile time (when returned from a method), it
can't really determine what the size should be, and the runtime on the
client side would not know how to reconstruct it.

Hope this helps.
 
Back
Top