Dofactory.com
Dofactory.com
 Back to list
Views:   33.4K
Replies:  6
Archived

WCF versus Web Service

When do we need Web Service and when WCF?
Rakesh Sharma, Aug 20, 2010
Reply 1
Hi,

You can find difference between WCF and web service at

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

thanks,
Ashish
Ashish Sharma, Nov 23, 2010
Reply 2
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
Matthew Jones, Nov 11, 2010
Reply 3
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
Srihari Chinna, Oct 22, 2010
Reply 4
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
Anshuman Saini, Oct 11, 2010
Reply 5
Hi,

You have rightly mentioned. WCF is a preferred option as compared to Web Service.
Harshad Riswadkar, Sep 08, 2010
Reply 6
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
Sreenivas Manyam Rajaram, Aug 20, 2010
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.