.NET Framework Bookmark and Share   
 index > Windows Communication Foundation > What is WCF client?
 

What is WCF client?

As much as I read about WCF client, I get more confused.
I have wsdl file, I can create service and client out of it with svcutil.exe
I use wsdl.exe to generate the proxy code, and I create my windows service without using the WCF client. do I need WCF client?

but I don't know how to use the WCF client then. what is the usage of it?

any kind of explanation would be greatly appreciated :)
thanks
MT.

PregnantbyASP

You have created a WCF service. You have run wsdl.exe against teh service metadata to create a non-wcf client. So your question is why would I ever need a WCF client?

Well heres the thing, to be able to use wsdl.exe against the service requires you to use the BasicHttpBinding. If you want something richer (NetTcpBinding or NetMsmqBinding for example) then wsdl.exe will not work. WCF provides a more feature rich infrastructure for building clients as well as services.

The real question should be - why would I use wsdl.exe insetad of svcutil.exe.On the whole, only if you don;t have access to svcutil.exe because your running an older version of .NET than .NET 3.0


Richard Blewett, thinktecture - http://www.dotnetconsult.co.uk/weblog2
Twitter: richardblewett
Richard Blewett

You can use google to search for other answers

Custom Search

More Threads

• ASPNetCompatability with WAS and net.pipe protocol
• Compressing Specific Messages
• Generate a proxy with an Interface of the ServiceContract using a fixed Guid for easy COM maintainability
• WCF security question
• Compatiblity with older clients expecting an .asmx Web Service
• WCF MSMQ Performances
• VERY POOR WCF per call performance over named pipes
• Date problem : WCF & excle client.
• WCF Service Effiency in SOA Architecture
• Workflow COntext binding wsdl generation