all groups > dotnet web services > january 2006 >
You're in the

dotnet web services

group:

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


Is it possible in WebServices with .NET 2.0 to offer two interfaces from the same web service? WTH
1/25/2006 11:10:28 AM
dotnet web services:
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

RE: Is it possible in WebServices with .NET 2.0 to offer two interface Dale
1/28/2006 7:35:26 AM
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
--
Dale Preston
MCAD C#
MCSE, MCDBA


[quoted text, click to view]
AddThis Social Bookmark Button