remember that with webservices you are sharing data - not type.
Why do you use System.Array? Why not a string array or similar?
Use a dotnet datatype thats serializes to XML - use only types that can be described by XSD. Have a look at the XmlSerializer attributes like XmlArray, XmlArrayType a.s.o.
---
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
nntp://news.microsoft.com/microsoft.public.dotnet.framework.webservices/<4D**********************************@microsoft.co m>
hi,
I have created a web service and in one of its web methods I use a public
function which expects parameters of array type
For Example:
Public Function makeTable(ByVal myAr As Array, ByVal myDAr As Array, ByVal
sqlStr As String) As String
When I try to debug the error below occurs:
"You must implement a default accessor on System.Array because it inherits
from ICollection. "
I made some changes in my code but didn't do anything. Can anyone suggest
what I have to do in order to use my array variables?
Thanks
[microsoft.public.dotnet.framework.webservices]