Reputation: 693
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.
Upvotes: 3
Views: 337
Reputation: 1736
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++.
Upvotes: 2