Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 277
  • Last Modified:

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?
0
Silas2
Asked:
Silas2
1 Solution
 
Anil GolamariCommented:
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now