Problem returning Custom Collection from Web Service.

D

dazmathome

I have a web service which returns a custom collection of custom object
types which works great when called from an ASPX page. The problem is I
am trying to call the same web service from an assembly and I am
getting the following error.

Unable to cast object of type '[WebServiceName].SkinSession[]' to type
'[WebServiceName].SkinSession[]'.

I realize the .NET 2.0 serialization is converting the collection to an
array, but for some reason, in the assembly, it does not appear to be
deserializing the XMLNode[] that comes back from the web service.

Again, It works great in the ASPX page, but not in an Assembly. I have
been all over the web and tried many different suggestions without any
success.

Anybody have any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top