Click here to Skip to main content
14,770,691 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Everyone,

I need to create a Visual C++ MFC Application which lists the soap operations from WSDL files.

For example, if I have this WSDL file:

http://www.webservicex.net/WeatherForecast.asmx?WSDL[^]

It has two operations: GetWeatherByZipCode and GetWeatherByPlaceName, and I want to list them in a ComboBox.

Is there any API in C++ to work with this? Thank you!!

P.S.: Sorry my english is not good.
Posted
Updated 2-Nov-10 5:23am
v2

I don't think there's any specific API to do that. You could parse the XML (should not be too hard) and easily come up with the C++ function definitions yourself, and then show those in the combobox.

Alternatively you could use one of the wsdl command line tools to generate a C++ class/header file and then parse that and show that info. Either way there will be some parsing involved.
   
   
Thanks, it possible with the Microsoft Soap Toolkit
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900