Home  /  Questions  /  Question



85   96.4
Aug 20, 2010


WCF versus Web Service

When do we need Web Service and when WCF?



50   50
Nov 23, 2010
Hi,

You can find difference between WCF and web service at

http://www.dotnetpal.com/wcf/webservicewcf.htm

thanks,
Ashish

50   50
Nov 11, 2010
To play Devil's Advocate, there are a few reasons you should use Web Services over WCF at least on a *nix platform.

1) Your company is leery of using open source
2) ComIntegration, RIA and WF3 not supported in Mono
3) Or any project where Web Services is already implemented (i.e. migration)

Matt Jones

340   99.9
Oct 22, 2010
Hi,

All of them correct

And we can't forget the plumbing code that we worte Web Service with WSE to gain more control over the message body or message header. In WCF we have much better controller over the above said parts. Also we can forget the problem that we faced with the SOAP exceptions. Now we have much better controll over the SOAP messages with rich programming model.

Hope this helps

Thanks,
Chinna

50   50
Oct 11, 2010
HI,
we can use the limited number of instance in WCF .
Like we can give the facility to client so that he can crete only 5 instnce not more than this means limited number of instance

256   99.6
Sep 08, 2010
Hi,

You have rightly mentioned. WCF is a preferred option as compared to Web Service.

Aug 20, 2010
1.WCF supports more of WS-* standards than web services
2.As I mentioned in the article WCF supports multiple bindings HTTP,TCP,MSMQ,WS-HTTP etc where as web service supports only HTTP.
3.WCF can maintain transactions like COM+
4.It has JSON integration
5.It can be hosted on IIS,WAS, Self hosting and windows services
6.Web services have no instance management ie you can not have a singleton web service or session full webservice
 1 comment
 
It seems that there is no use of web service in present scenerio as WCF covers most of the services under it. --- Rakesh Sharma  Aug 23, 2010