Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / December 2007

Tip: Looking for answers? Try searching our database.

Returning an array of custom objects

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mr. Murdock - 06 Dec 2007 14:46 GMT
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
Mr. Murdock - 06 Dec 2007 14:57 GMT
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?

> Hello,
>
[quoted text clipped - 8 lines]
> Thank you,
> Murdock

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.