Skip to main content
Home Forums Silverlight Programming Programming with .NET - General WCf .svc file not refreshing in Service Reference
3 replies. Latest Post by CraigMuckleston on October 14, 2009.
(0)
CraigMuc...
Member
268 points
131 Posts
09-17-2009 5:01 AM |
I have an SL3 app with a wcf .svc file. I have many functions in the .svc file and can manipulate my data nicely. I have now added another simple function, rebuilt my web app, but when I either a) update my service reference, or b) try to add another instance of the scf service, I can't see the new function in my app. In fact, When I try to add a new reference to the service, I can't even see the new function in the Operations list of the Add Service Reference window.
Anyone had such an issue?
ccoombs
Contributor
5168 points
758 Posts
09-17-2009 8:24 AM |
juts covering the basics, but:
make sure you tag it as an OperationContract
make sure you're pointed to the right address. if you have a set of live webservice and a set running on localhost, you obviously won't have access to the new method unless you either publish your service or you point your service reference to localhost
pongsath...
62 points
11 Posts
09-17-2009 12:24 PM |
Did you check wsdl by brow your servicesin browser, http://localhost:XXXX/wcf.svc?wsdl. If your method exist in wsdl, the svcutil will generate the proxy for you correctly.
10-14-2009 5:59 AM |
I have checked the wsdl by browsing to http://localhost:XXXX/wcf.svc?wsdl. I can see all my other methods except my new one (which is decorated by OperationContract)