3

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.

Gajanan Kulkarni
  • 697
  • 6
  • 22

1 Answers1

2

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++.

Filip Dimitrovski
  • 1,576
  • 11
  • 15