Search code examples
c#vb6wcfserviceclient

How to use a WCF Web Service in VB6


Situation is that I have a VB6 application and a WCF Service. The SOAP/WCF client has to be implemented in C# as we cannot do this in VB6. So how can I use this client in my VB6 aplication? In simple words, how to use/consume a WCF WEb service VB6 Application? The WCF Web service to be consumed is soap based.


Solution

  • Take a look at the COM SOAP client that Microsoft provides.

    https://msdn.microsoft.com/en-us/library/ms997641.aspx

    dim SOAPClient
    set SOAPClient = createobject("MSSOAP.SOAPClient")