native C++: WSDL proxy generation library

2019-05-19 10:25发布

It is necessary to communicate to WebService from C++ MFC application. I can add reference to the service, but wsdl is generated for if simple types are used only. Attempt to generate proxy for methods with complex types returns an error:

does not support extension of complexType

Here is a suggestions to fix that: http://support.xignite.com/entries/168861-getting-around-the-sdl1030-sproxy-exe-does-not-support-extension-of-complextype

My intention is to generate with some WSDL proxy generation library.

Question: could you please advise good library for WSDL proxy generation? On the linked page http://ws.apache.org/axis/ is advised library suggested. Did anybody used it? Is it fine?

2条回答
Summer. ? 凉城
2楼-- · 2019-05-19 10:37

Is gsoap what you are looking for? It can generate both client and server sides of a Web Service in C or C++.

查看更多
叼着烟拽天下
3楼-- · 2019-05-19 10:43

Depending on your target platforms check out WsUtil which is part of the Windows Web Services API

From the MSDN page:

Windows Web Services API (WWSAPI) offers C/C++ application programming interface (API) for building SOAP based web services and clients to them.

查看更多
登录 后发表回答