all groups > dotnet web services enhancements > november 2007 >
You're in the

dotnet web services enhancements

group:

Add Service Reference didn't generate proxy (OrcasBeta2)


Add Service Reference didn't generate proxy (OrcasBeta2) DouglasWoods
11/3/2007 6:58:01 PM
dotnet web services enhancements:
I am using OrcaBeta2 and tried using "Add Service Reference" to create the
proxy for a WCF service.

The referemce has been added to the App_WebReference Folder and there are a
number of files create (configuration.snvinfo, Service1.disco, Service1.wsdl,
Service1.xsd, Service11.xsd, Service12.xsd) but I cannot locate the proxy.
Iwas expecting to see a .cs and output.config file ( like what you get when I
use svcutil.exe).

Of course I am new to WCF, so not really sure what I was expecting to egt
after doing the Add Service Reference.

Should I have seen a generated .cs proxy?
--
Regards
RE: Add Service Reference didn't generate proxy (OrcasBeta2) Lifeng Lu MS
1/23/2008 5:50:36 PM
I think you are working on a web site project. The Web site project system
has its own dynamic compiler system, so a proxy will be generated from those
metadata on the fly when it is being used. The DLL and/or source code will
not be generated/persisted in a web site project, so you can't find them.

If it is a problem for you, you might want to create a client project, and
add a similar service reference. You should be able to see generated code
there.

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