Views: 33.4K
Replies: 6
Archived
|
WCF versus Web ServiceWhen do we need Web Service and when WCF?
Rakesh Sharma, Aug 20, 2010
|
|
Reply 1Hi,
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 2To 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 3Hi,
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 4HI,
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 5Hi,
You have rightly mentioned. WCF is a preferred option as compared to Web Service. Harshad Riswadkar, Sep 08, 2010
|
|
Reply 61.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
|