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

Tip: Looking for answers? Try searching our database.

WebService proxy not generated classes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
vincent - 13 Apr 2006 00:13 GMT
Hello,

I'm webreferecing some webservice.
I have one WebMethod returning "List<SomeClass>"

I don't want "SomeClass" to be proxy generated on client side But i want
to use the same "SomeClass" that i have on server side.

I have seen one day an attribute to put on the WebMethod to specify the return
type.
I can't remember which one.
Maybe it was dream.

I don't want to modify generated proxy to change references.
(Should never be modified by humans)

Any ideas?

Vincent.
PS : Sorry for crossposting
vincent - 13 Apr 2006 18:51 GMT
Ok it was a dream...

I've found two ways.

one dirty :
delete generated class from proxy and reference the "real" ones. (and lost
all when regenerate proxy)

one clean playing with a SchemaImporterExtension to change code generation.
infortunatly i don't know how to use a SchemaImporterExtension in a class
project...

anyone?

Thanks me, myself and I ;)

> Hello,
>
[quoted text clipped - 15 lines]
> Vincent.
> PS : Sorry for crossposting

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.