G
Guest
Hi again,
I tried to declare the following function on my webservice
<WebMethod()> Public Sub mytestfunc() as Object()
return myarraylist.ToArray() 'myarraylist is of type ArrayList
End Sub
This compiles correctly, but when I try to call it in my web client, I
receive a SOAP error, that indicates that the type the arraylist really
consists of (e.g. MYSTRUCT) is not defined.
Now, how can I transfer an array of structures as a return value of a
webmethod?
Thanks
Peter
I tried to declare the following function on my webservice
<WebMethod()> Public Sub mytestfunc() as Object()
return myarraylist.ToArray() 'myarraylist is of type ArrayList
End Sub
This compiles correctly, but when I try to call it in my web client, I
receive a SOAP error, that indicates that the type the arraylist really
consists of (e.g. MYSTRUCT) is not defined.
Now, how can I transfer an array of structures as a return value of a
webmethod?
Thanks
Peter