Wcf – WSDL from WCF Issue

wcfwsdl

I'm trying to use NeoLoad to generate and execute SOAP requests and upon supplying the WSDL, it doesn't seem to like the imports that they are referring to.

I'm thinking I would need to flatten the WSDL generated by the WCF service.

Are there any techniques I could use to flatten it?

I've been reading:

http://blogs.msdn.com/dotnetinterop/archive/2008/09/23/flatten-your-wsdl-with-this-custom-servicehost-for-wcf.aspx

http://blogs.thinktecture.com/cweyer/archive/2007/05/10/414840.aspx

Would this be something I should be trying out?

Best Answer

Yes, some clients have trouble with the (standards-compliant) way that Microsoft has implemented the WSDL and XSD.

Those two articles you mention are great starting points - they show how you can get your WCF service to render out a flattened WSDL (which includes the XSD inside it).

The same goes for WCF Extras on Codeplex, which also does a few more things in addition (most notably exporting the XML comments from your C# or VB.NET code into the WSDL). Highly recommended.

Related Topic