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 / September 2006

Tip: Looking for answers? Try searching our database.

Returning custom collection from a webservice

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rodney - 12 Sep 2006 21:50 GMT
I have a strongly typed custom collection that is filled from an xml
file. This works fine inside my web service, but not when I try to send
it to the client. The proxy class changes the return type to an array
of [my object]. And even though the collection had 3 items in it on the
web service end the array passed to the client is empty. Also one of
[my object]'s properties is another custom collection.

I've found a few forums posts, with people having the same problems but
no solutions. The closest I've found was a vague reference to using the
"SchemaImporterExtensions."

I'm not familiar with this at all. If someone could point in the
direction of a solution or explanation of what the Schema Importer
Extensions is, it would be very helpful.
Rodney - 12 Sep 2006 22:04 GMT
Also I'm using C# in VS2005, i could modify the references.cs file, but
I'd have to modify it everytime i update the web reference. Which is
not practical at all.

> I have a strongly typed custom collection that is filled from an xml
> file. This works fine inside my web service, but not when I try to send
[quoted text clipped - 10 lines]
> direction of a solution or explanation of what the Schema Importer
> Extensions is, it would be very helpful.

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.