Forum Discussion

senthkum's avatar
senthkum
Contributor
6 years ago

could not import a definition from the specified file?

Hi Team,

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. 

 

Thanks

Senthil kumar. M

  • richie's avatar
    richie
    Community Hero

    Hi senthkum 

     

    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,

     

    Cheers,

     

    rich

     

    • Olga_T's avatar
      Olga_T
      SmartBear Alumni (Retired)

      Hi all,

       

      Thank you for your comments, richie.

       

      senthkum, did any of the above thoughts give you any ideas on how this could be solved? What stage are you on now?

    • senthkum's avatar
      senthkum
      Contributor

      Hi Richie,

       

      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.

       

      Thanks

      Senthil kumar