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.


Nov 27, 2009 at 1:28 AM


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:,

You may also take a look at this post in this same forum: