Reputation: 693
I use a wsdl file to generate web service with the help of svcutil but it generates class instead of simple int or string parameter for the service contract. What I did:
Why does it do that and how I can rewrite the wsdl to solve this problem, please?
Upvotes: 0
Views: 365
Reputation: 12628
Most likely you used /messageContract
switch in svcutil.
If you added service via service reference, then right click on service->configure service reference and uncheck Always generate message contracts
Upvotes: 1