Web Services: An Array variable
From: Dominick Baier (dotnet_at_leastprivilege.com)
Date: 10/07/04
- Next message: Dominick Baier: "kerberos certificate"
- Previous message: Andrew: "Re: What is wrong here?"
- Messages sorted by: [ date ] [ thread ]
To: microsoft.public.dotnet.framework.webservices Date: Thu, 07 Oct 2004 12:57:03 -0700
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
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]
- Next message: Dominick Baier: "kerberos certificate"
- Previous message: Andrew: "Re: What is wrong here?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|