WSDL from WCF Issue

落爺英雄遲暮 提交于 2019-12-14 02:24:45

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/1758642/wsdl-from-wcf-issue

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!