c++wsdlheader-filessvcutil.exe

What is the output of svcutil /l:CPP /out: output_Folder_Path wsdl_folder_path?


I was trying to create .cpp files from wsdl using svcutil. But unable to create cpp files.

svcutil /l:CPP /out: output_Folder_Path wsdl_folder_path

with this command it is creating .h header file. Please help me how to create .cpp files.


Solution

  • To generate code run svcutil /t:metadata [yourfiles], which will create wsdl/xsd metadata only (into your current directory) and then run wsutil ..

    WsUtil generates both source files and header files in C. Then, you might want to copy the code and generate a MSVC project in either C or C++.