Error reading the metadata while importing the wsdl

Nov 25, 2009 at 11:06 AM

Hi. I am using the Import WSDL Add-on. While importing a WSDL I receive the error "There was an error reading the metadata from one of the loaded documents."

My wsdl has some imported and included xsd but even if I use a simple wsdl I have the error below. The XmlSerializer is on.

Cannot import wsdl:port
Detail: There was an error importing a wsdl:binding that the wsdl:port is dependent on.
XPath to wsdl:binding: //wsdl:definitions[@targetNamespace='...']/wsdl:binding[@name='...']
XPath to Error Source: //wsdl:definitions[@targetNamespace='...']/wsdl:service[@name='...']/wsdl:port[@name='...']

Thanks for any advice.

 

Coordinator
Nov 27, 2009 at 1:28 AM

Hi,

Did you try using svcutil tool to generate the types from the wsdl? I just want to make sure that you don;t get the same error with that tool.

If you get errors, here are some posts that might shed some light on the problem:

http://geekswithblogs.net/higgins/archive/2008/02/15/119593.aspx, http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/5969d6a2-a8f7-456a-85dc-a6e3296f7ffc

You may also take a look at this post in this same forum: http://www.codeplex.com/servicefactory/Thread/View.aspx?ThreadId=9370

Regards,

Hernan