English 中文(简体)
WSDL from WCF Issue
原标题:
  • 时间:2009-11-18 19:58:07
  •  标签:
  • wcf
  • wsdl

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?

最佳回答

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.

问题回答

暂无回答




相关问题
Calling java SOAP web-Service from iPhone

I have a query regarding calling java SOAP web-Service from iPhone. I have successfully implemented calling .asmx type web services. But I am getting following error when I try to implement same for ...

WSDL from WCF Issue

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

How do you support PHP exceptions in a wsdl file

I am not sure how to correctly make a fault element in a wsdl file repesenting a PHP exception. I have created a PHP web service that throws an exception for testing purposes. When I call this web ...

Error connecting to secure web service!

I am consistently receiving the following error when trying to create a Web Reference in Visual Studio 2008 to a 3rd party web service. Received an unexpected EOF or 0 bytes from the transport ...

What is the best solution for creating a SOAP Server in PHP?

I need some advice on which library is the best choice when it comes to creating SOAP servers (and eventually SOAP clients) in PHP. I know there is built-in functions for this, but is that really the ...

热门标签