could not import a definition from the specified file?
I am trying to import a wsdl but getting an error "could not import a definition from the specified file". I have tried None, Manual and Automatic in proxy settings but unsuccessful. I am able to import the wsdl in SOAPUI and on browser but not with ServiceV Pro ReadyAPI, Let me know how can we import the wsdl.
That's not actually much to go on to try and diagnose the problem and advise on a fix.
It would appear with just a quick glance at the error that's manifesting there is a problem with the contents of your .wsdl - but without more info I doubt anyone's gonna be able to help.
Typically if you can't load in a file it's because it's malformed but the fact you're loading it into a browser proves its wellformed xml.
As I say above -its likely to be the contents of the .wsdl that are causing the problem - if you can publish the .wsdl people will be able to look at it for you - but other than that - I can't help.
If you can't publish the file then the only other thing I can suggest is if you're XML is decent I'd recommend commenting out sections and trying to reload - but I wouldn't recommend this unless your XML is fairly good - you need to be cognizant of what you are commenting out and the implications to the file and how it gets parsed by the XMLparser.
Hope this helps a little,
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
Re: could not import a definition from the specified file?
Thanks for your response, I would like to share the wsdl link "https://dcp-au.computershare.com/B2B/GdsConnect.svc?wsdl" for your reference. I was able to import the wsdl in SOAPUI and Parasoft, Please find the attachment for your rerefence. When it can be imported in SOAUI, why is it failing in ServiceV pro ?. I can check with the developer in parallel on the issue. Let me know if I have missed anything.