Using Web Service instead of WCF

If I'm having problems binding to a WCF service but I can access it using a Web Reference, and I'm doing a read-only operation, is there any reason not to do that?
Is there an advantage to persisting with the binding to get the WCF to work?
Silas2Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Anil GolamariConnect With a Mentor Commented:
http://www.programminghelp.com/programming/dotnet/wcf-creating-and-implementing-a-service-in-c/
http://msdn.microsoft.com/en-us/library/ms733769.aspx

You can use a web service instead of wcf but in long term if you need to make any change to the code or whether you client is not using same kind of transport to call the service then web service is very disadvantageous. If you are using WCF and project the endpoint bindings then you should be able to
connect any client and also code reusability and code changes will be easy to do in wcf.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.