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

Tip: Looking for answers? Try searching our database.

Is it possible in WebServices with .NET 2.0 to offer two interfaces from the same web service?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
WTH - 25 Jan 2006 16:10 GMT
I want to keep the codebase simple and deployment simple as well, so I'd
like to expose multiple interfaces to web services consumers from the same
assembly.

This wasn't possible a year ago (afaik), has this changed?

   Thanks,
                   WTH
Dale - 28 Jan 2006 15:35 GMT
What you need to do is either manually create, or edit the VS2005 created,
proxy class file.  The problem is that Visual Studio 2005 doesn't create a
proxy file for a Web Reference until compile time.

For what you're doing, I suggest that you not add a WebReference using
Visual Studio's Add Web Reference tool.  Instead, run WSDL.exe to generate a
proxy class file for you.  You can create customized copies of that proxy
class, exposing only those features you need in your various consumers and
include the customized version in each build.

HTH
Signature

Dale Preston
MCAD C#
MCSE, MCDBA

> I want to keep the codebase simple and deployment simple as well, so I'd
> like to expose multiple interfaces to web services consumers from the same
[quoted text clipped - 4 lines]
>     Thanks,
>                     WTH

Rate this thread:







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.