0

I had a WCF hosted in a windows service. It worked fine. But I recently added a new web method to the WCF. But when I host the wcf in the same windows service, I can't access the newly added web methods, wsdl don't show newly added methods. Any Ideas how to resolve this?

wattale
  • 93
  • 11
  • How dou you "host wcf in the same windows service"? – Grzegorz W Jul 19 '12 at 06:51
  • You had a WCF? What kind of a WCF was it? A WCF client? A WCF Service? What? – tom redfern Jul 19 '12 at 07:23
  • WCF service library @Grzegorz Actully I added the updated WCF service library .dll file to the existing windows service ( even you can consider it as a new windows service ) – wattale Jul 19 '12 at 08:06
  • I assume You restarted your windows service? :D Post Your WCF service code. – Grzegorz W Jul 19 '12 at 08:11
  • Code is pretty simple. The problem is It didn't work after I added a new web method in WCF sevice library. I'm hosting it on a windows service. – wattale Jul 19 '12 at 11:16
  • I just recreated the windows service project, and wrote the code from the bigining .. now the problem solved but the daam method – wattale Jul 19 '12 at 11:19
  • This might be a stupid question - but you have added the OperationContract attribute to the new method? – user1535042 Jul 19 '12 at 10:30

0 Answers0