How can I create a VB6 client connect to WCF web service?
Is there any better solution to create web service instead of using WCF, so that it is lot more easier to connect from VB6?
It really depends on what your requirements are exactly. Here are some suggestions:
AppDomain.CurrentDomain.SetupInformation.ConfigurationFile as this stackoverflow answer illustrates. If your VB6 app is on the same LAN as your service this will have the advantage of allowing you to use netTcpBinding which would have less overhead than the http bindings. You could also get really exotic and use something like netMsmqBinding if you need disconnected access to the service.basicHttpBinding if I was going to attempt to use that.webHttpBinding, making raw http calls, and parsing the results yourself. If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With