Returning an array of custom objects

M

Mr. Murdock

Hello,

I have created a method on the websevice called ProductObject[] GetProducts().
It returns an array of products available in the database.
The problem is when I receive the response from the webservice. It is not
coming as ProductObject[] but as a System.Array that contains XML nodes,
attributes and elements. I believe this is an issue with the deserialization
process.
How can I repair it?

Thank you,
Murdock
 
M

Mr. Murdock

Hey,

Problem sorted. I had to update the webreferences on the project manually.
It's working now. Tricky don't you think?
Another funny issue. I'm then binding the results on a dropdownlist but it
fails.
It says it can't find the "Name" property on the object but it is there.
I can get the value in debug mode.
Any thoughs?
 

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,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top