user970694
user970694

Reputation: 139

how to generate wsdl with SvcUtil?

Is it possible to generate wsdl with use of SvcUtil or any other tool. I know I can view wsdl in browser while running the service but I need to have one wsdl file that doesn't have xsd:import directive but rather specifies all the information in this file.

Upvotes: 2

Views: 3948

Answers (1)

Randy Levy
Randy Levy

Reputation: 22655

If it's a one off you could manually construct the single WSDL file. But that's no fun. :)

Another way is to create an endpoint behavior. See Improving WCF Interoperability: Flattening your WSDL for the full details.

Upvotes: 3

Related Questions