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.

Is it possible to create strongly typed Web Services?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Fran Garcia - 07 Apr 2006 15:38 GMT
Hi,

I am developing both a Web Service and a client application. It works Ok,
but I would like the proxy generator to deserialize objects using the
original class, and not the proxy-created class. Is it possible?

How?

Thanks in advance,

   Fran
Javier G. Lozano - 08 Apr 2006 18:07 GMT
Not really since you're exchanging the schema of the web service rather
than the types.  In other words, you're exchanging the representation
of the data in a platform agnostic way (this is how you can interop
with Java, Linux, etc.).
Fran Garcia - 09 Apr 2006 09:46 GMT
Yes, I know, but I mean a way to instruct wsdl.exe to reference some
assemblies and, if a serialized object is from the referenced assembly, use
that class instead of creating a new one.

This way, if you are both the server and the client developer, you can add
methods to server classes and reuse them in your client applications, as
long as they reference the original assembly.

How do Datasets manage to get deserialized as Datasets instead of a wsdl.exe
created proxy class?

I suppose it must have something to do with the assembly being in the GAC,
or some Xml related attribute or interface, but I can't find it.

Any clues?

Thanks a lot

> Not really since you're exchanging the schema of the web service rather
> than the types.  In other words, you're exchanging the representation
> of the data in a platform agnostic way (this is how you can interop
> with Java, Linux, etc.).

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.