Hello,
I have been supplied a WSDL and am tasked invoking that service
from within our company's product (which is all MFC/C++; no COM).
That is I must modify the MFC/C++ to act as a web service client.
I see that a .NET web service client typically uses a proxy class, generated from the WSDL, to handle the underlying communication details of SOAP, HTTP, marshalling, etc. For C# and
VB.NET this proxy class is created by WSDL.EXE; for C++ however the proxy is generated by SPROXY.EXE.
My problem is that the schema section of the WSDL I have been provided make widespread use of XSD extensions. While WSDL.EXE can generate proxy classes for this WSDL without a problem, SPROXY.EXE does not support XSD extensions and fails to produce the proxy class.
Furthemore, the proxy class code that SPROXY.EXE generates seems to be fairly complex ATL code, even for very trivial web services (i.e. there's no way I can write this by hand).
-------------------------------------
QUESTION: What are my options for invoking a (nontrivial) web service from a non-COM C++ client if the WSDL file for the service and SPROXY.EXE cannot be used to create the proxy class?
-------------------------------------
Any help is greatly appreciated! Thanks!