Solved

Using Web Service  instead of WCF

Posted on 2010-09-06
1
266 Views
Last Modified: 2012-05-10
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?
0
Comment
Question by:Silas2
1 Comment
 
LVL 18

Accepted Solution

by:
Anil Golamari earned 500 total points
Comment Utility
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

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

This tutorial will show you how to add an attribute to an XML (http://en.wikipedia.org/wiki/XML) stream returned from a Windows Communication Foundation (http://en.wikipedia.org/wiki/Windows_Communication_Foundation) (WCF) Web Service.  Some knowled…
Here I am going to explain creating proxies at runtime for WCF Service. So basically we use to generate proxies using Add Service Reference and then giving the Url of the WCF service then generate proxy files at client side. Ok, what if something ge…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now