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

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top